[]
        
(Showing Draft Content)

C1.Framework.Html.HtmlElement

HtmlElement Class

Class that represents a generic Html Element.

Inheritance
HtmlElement
Implements
Namespace: C1.Framework.Html
Assembly: C1.Win.8.dll
Syntax
public class HtmlElement : HtmlDiv, ISupportUia

Constructors

Name Description
HtmlElement(Style, bool)

Initializes a new instance of the HtmlElement class with the specified style options.

HtmlElement(Style, string, bool)

Initializes a new instance of the HtmlElement class with the specified htm content and style options.

HtmlElement(Style, string, bool, int)

Initializes a new instance of the HtmlElement class with the specified htm content and style options.

HtmlElement(bool)

Initializes a new instance of the HtmlElement class.

HtmlElement(string, bool)

Initializes a new instance of the HtmlElement class with the specified htm content.

Properties

Name Description
Connected

Gets or sets the bool value determining whether content should be downloaded at runtime.

HasAnimatedImages

Get the bool value specifying whether the current element contains animated images.

Html

Gets or sets the html content to display.

ImageDictionary

Gets or sets the IDictionary containing image cache.

ShowHotKeys

Gets or sets the bool value determining whether to show hotkey prefix.

Url

Gets or sets the string value determining location of the html content to show.

Methods

Name Description
AnimateImages(int)

Selects the image frame with the specified index.

Clear()

Clears all content.

Layout(Graphics)

Layout this element based on its style and contents.

Parse(HtmlParser)
ParseOpenTag(HtmlParser)
Render(Graphics, Rectangle)

Renders the element into a given rectangle.