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

Commented Unassigned: HtmlPanel - HtmlContainer Access [9028]

$
0
0
Hello again. I am going to need access to the GetElementRectangle method of the HtmlContainer instance (_htmlContainer) that HtmlPanel uses.

As it stands, I have no options for doing this other than forking your repository and building this component myself because _htmlContainer is not exposed as protected in any way.

Do you think you could do one or more of the following?
.

- Expose the HtmlPanel variable _htmlContainer as `protected HtmlContainer { get... }`.
- Expose _htmlContainer.GetElementRectangle as `public RectangleF? GetElementRectangle(string);` in HtmlPanel.cs.
- Allow developers (me) to make our own HTML rendering controls by changing all `internal` functionality to `public` or `internal protected`. (The reason I couldn't make my own custom HtmlPanel control was that I couldn't access CssParser.)

One of the first two options would satisfy my immediate needs, but the third one is more of a long-term request.

Also, would you rather I start sending you pull requests on GitHub instead of requests such as this? If you want me to do the work stated above (or something else/similar), just let me know. Thank You.
Comments: I believe bullet # 2 above was what the gentleman here was actually asking for - https://htmlrenderer.codeplex.com/discussions/484135

Viewing all articles
Browse latest Browse all 693

Trending Articles



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