Quantcast
Channel: HTML Renderer
Viewing all articles
Browse latest Browse all 693

New Post: Publish HtmlContainer methods to the HtmlPanel

$
0
0
Hello,
in the HtmlContainer class are some methods like GetLinkAt(Point location). Unfortunately these methods are not called via the HtmlPanel class. Only if i derive a new class from HtmlPanel and add a property public HtmlContainer HtmlContainer { get { return _htmlContainer; } } I can access the GetLinkAt method for e.g. to show MouseOver hyperlink text.
class Class1 : HtmlPanel
{
    public HtmlContainer HtmlContainer { get { return _htmlContainer; } }
}
...
private void class1_MouseMove(object sender, MouseEventArgs e)
{
    txtStatus.Text= class1.HtmlContainer.GetLinkAt(e.Location);
}
Can you please add these methods into the HtmlPanel class.

Thank you.

Viewing all articles
Browse latest Browse all 693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>