Class TABLEElementImpl
Class that is responsible for <TABLE> Tag.
Inherited Members
Namespace: Syncfusion.Windows.Forms.HTMLUI
Assembly: Syncfusion.HTMLUI.Windows.dll
Syntax
[ElementTag("table")]
public class TABLEElementImpl : BaseElement, IHTMLElement, ICloneable, IDisposable
Constructors
TABLEElementImpl(IHTMLElement)
Initializes a new instance of the TABLEElementImpl class
Declaration
public TABLEElementImpl(IHTMLElement parent)
Parameters
Type | Name | Description |
---|---|---|
IHTMLElement | parent | Parent element. |
Properties
ColsCount
Gets the number of columns in the table.
Declaration
public int ColsCount { get; }
Property Value
Type |
---|
System.Int32 |
OwnFormat
Overridden. Gets or sets the format which is special for tag A (Hyperlink).
Declaration
protected override HTMLFormat OwnFormat { get; }
Property Value
Type |
---|
HTMLFormat |
Overrides
RowsCount
Gets the number of rows in the table.
Declaration
public int RowsCount { get; }
Property Value
Type |
---|
System.Int32 |
SupportedEvents
Overridden. Returns an array of supported events.
Declaration
public override string[] SupportedEvents { get; }
Property Value
Type |
---|
System.String[] |
Overrides
Methods
CalculateChildPositions(Point, Rectangle)
Overridden. Calculates the positions in the table.
Declaration
protected override BlocksCollection CalculateChildPositions(Point curPosition, Rectangle bounds)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Point | curPosition | Current global position. |
System.Drawing.Rectangle | bounds | Max bounds for this element. |
Returns
Type | Description |
---|---|
BlocksCollection | Array of blocks of this element. |
Overrides
ChildrenChanged(Object, CollectionEventArgs)
Raised when the collection of children has changed. Here we have to update our data about table dimensions.
Declaration
protected void ChildrenChanged(object sender, CollectionEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | Sender of the event. |
CollectionEventArgs | e | Event arguments. |
InitializeElement()
Overridden. Initializes an element.
Declaration
protected override void InitializeElement()
Overrides
OnDispose()
Overridden. Disposes element.
Declaration
protected override void OnDispose()
Overrides
ReConvertInnerHTML(XmlElement, IHTMLElement)
Overridden. Re-converts all children to tree of objects.
Declaration
protected override IHTMLElement ReConvertInnerHTML(XmlElement xmlCurrent, IHTMLElement elementParent)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlElement | xmlCurrent | Current XML element. |
IHTMLElement | elementParent | Parent HTML element object. |
Returns
Type | Description |
---|---|
IHTMLElement | Created HTML element object. |