WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TDElementImpl - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TDElementImpl

    Class that is responsible for <TD> Tag.

    Inheritance
    System.Object
    BaseElement
    TDElementImpl
    THElementImpl
    Implements
    IHTMLElement
    System.ICloneable
    System.IDisposable
    Inherited Members
    BaseElement.DEF_REGEX_OPTIONS
    BaseElement.DEF_RUNTIME_LOCATION
    BaseElement.DEF_RUNTIME_SIZE
    BaseElement.DEF_RUNTIME_VISIBLE
    BaseElement.DEF_RUNTIME
    BaseElement.m_ownFormat
    BaseElement.m_blocks
    BaseElement.m_curPos
    BaseElement.m_bounds
    BaseElement.m_isBlockStructure
    BaseElement.m_isPostponed
    BaseElement.m_oldCursor
    BaseElement.BeforeDisposing
    BaseElement.Dispose()
    BaseElement.InitializeCollections()
    BaseElement.BeginUpdate()
    BaseElement.EndUpdate()
    BaseElement.Focus()
    BaseElement.ApplyFormat(IHTMLFormat)
    BaseElement.RaiseRuntimeAttributeChanged(String, ValueChangedEventArgs)
    BaseElement.RaiseParentChanged(ValueChangedEventArgs)
    BaseElement.RaiseAccessKeyChanged(ValueChangedEventArgs)
    BaseElement.RaiseUniqueIDChanged(ValueChangedEventArgs)
    BaseElement.RaiseInnerHTMLChanged(ValueChangedEventArgs)
    BaseElement.RaiseFormatChanged(ValueChangedEventArgs)
    BaseElement.RaiseBeforeStyleCalculated(PreStyleCalculatedEventArgs)
    BaseElement.RaiseSizeCalculated(EventArgs)
    BaseElement.RaiseLocationCalculated(EventArgs)
    BaseElement.RaiseOnPaint(ElementPaintEventArgs)
    BaseElement.RaiseClickEvent(EventArgs)
    BaseElement.RaiseDoubleClickEvent(EventArgs)
    BaseElement.RaiseMouseMoveEvent(EventArgs)
    BaseElement.RaiseMouseEnterEvent(EventArgs)
    BaseElement.RaiseMouseLeaveEvent(EventArgs)
    BaseElement.RaiseMouseDownEvent(EventArgs)
    BaseElement.RaiseKeyDownEvent(EventArgs)
    BaseElement.RaiseKeyUpEvent(EventArgs)
    BaseElement.RaiseKeyPressEvent(EventArgs)
    BaseElement.RaiseGotFocusEvent(EventArgs)
    BaseElement.RaiseLeaveEvent(EventArgs)
    BaseElement.RaiseTabIndexChangedEvent(EventArgs)
    BaseElement.RaiseQuietModeChangedEvent()
    BaseElement.RaiseBeforeDisposing(EventArgs)
    BaseElement.LeaveFocus()
    BaseElement.CreateEvent(String)
    BaseElement.OnRuntimeAttributeChanged(String, ValueChangedEventArgs)
    BaseElement.OnParentChanged(ValueChangedEventArgs)
    BaseElement.OnAccessKeyChanged(ValueChangedEventArgs)
    BaseElement.OnUniqueIDChanged(ValueChangedEventArgs)
    BaseElement.OnInnerHTMLChanged(ValueChangedEventArgs)
    BaseElement.OnFormatChanged(ValueChangedEventArgs)
    BaseElement.OnBeforeStyleCalculated(PreStyleCalculatedEventArgs)
    BaseElement.OnSizeCalculated(EventArgs)
    BaseElement.OnLocationCalculated(EventArgs)
    BaseElement.OnPaint(ElementPaintEventArgs)
    BaseElement.OnQuietModeChanged()
    BaseElement.OnBeforeDisposing(EventArgs)
    BaseElement.CalculateInnerHTML()
    BaseElement.ReparseInnerHTML(String)
    BaseElement.ReConvertInnerHTML(XmlElement, IHTMLElement)
    BaseElement.InfillFromXMLElement(HTMLUIControl, XmlElement)
    BaseElement.MeasureString(String, HTMLFormat, Int32)
    BaseElement.MeasureString(String, Font)
    BaseElement.MeasureString(String, Font, Int32)
    BaseElement.GetRealMaxWidth(String, Int32, HTMLFormat)
    BaseElement.MoveStartCurPos(Point)
    BaseElement.MoveFinalCurPos(Point)
    BaseElement.InitializeElement()
    BaseElement.GetParentForEvent(String)
    BaseElement.IsEventSupported(String)
    BaseElement.IsAttributeRuntime(String)
    BaseElement.GetElementLevel(IHTMLElement)
    BaseElement.CalculateFormat()
    BaseElement.CalculatePosition()
    BaseElement.GetArray(Hashtable)
    BaseElement.SetOwnFormat(ArrayList, Hashtable)
    BaseElement.SetFirstFormat(ArrayList)
    BaseElement.ShowToolTip()
    BaseElement.HideToolTip()
    BaseElement.GetWidthFromParent()
    BaseElement.GetHeightFromParent()
    BaseElement.GetInnerWidthFromParent()
    BaseElement.GetInnerHeightFromParent()
    BaseElement.MakeTopIndent(Int32)
    BaseElement.MakeBottomIndent(Int32)
    BaseElement.GetFormatFromAttributes()
    BaseElement.SyncTabStopCollection(Int32)
    BaseElement.SetFormat(HTMLFormat)
    BaseElement.GetBlockParent()
    BaseElement.GetInheritedFormat()
    BaseElement.CalculateSize()
    BaseElement.DefGetSize()
    BaseElement.DefGetSizeInTable()
    BaseElement.DefGetSizeWithAttributes()
    BaseElement.InFillTextSizeHash()
    BaseElement.InFillTextSizeHash(XmlNode, Int32)
    BaseElement.SetElementStyle()
    BaseElement.GetMaxWidth()
    BaseElement.GetMaxWidthForTextSizing()
    BaseElement.CalculateTextPos(Text, Block)
    BaseElement.CalculateElementPos(Int32, Block)
    BaseElement.CalculateChildPosFromType(BaseElement)
    BaseElement.CalculateInlineChildPos(BaseElement)
    BaseElement.CalculateBlockChildPos(BaseElement)
    BaseElement.CalculateBlockFixedSizePos(BaseElement)
    BaseElement.CalculateBlockNewLineFixedSizePos(BaseElement)
    BaseElement.CalculateBlockSimplePos(BaseElement)
    BaseElement.CalculateBlockNewLineSimplePos(BaseElement)
    BaseElement.CalculateBlockNewLineResizablePos(BaseElement)
    BaseElement.CalculateBlockResizablePos(BaseElement)
    BaseElement.AddBlocksToMain(BaseElement, Block, BlocksCollection)
    BaseElement.IsGoodWidth(Block, Int32, Int32)
    BaseElement.BreakText(Text, Block)
    BaseElement.InsertText(Text, Block, Size)
    BaseElement.SplitText(String, Int32, ArrayList)
    BaseElement.SplitTextToLines(ArrayList, Int32, ArrayList)
    BaseElement.AddElement(Block, Object, Rectangle)
    BaseElement.GetFreeWidthInLine(Block, Int32)
    BaseElement.GetRemainderWidth(Block, Int32)
    BaseElement.GetWidthToBorder(Block, Int32)
    BaseElement.CreateBlock(Block)
    BaseElement.ResizeElement()
    BaseElement.ChangeStartPosition(Block)
    BaseElement.ChangeStartPosition(Rectangle)
    BaseElement.InFillBlocks(String)
    BaseElement.ElementInSameBlock(Rectangle)
    BaseElement.SetLastCurrentPosition()
    BaseElement.ReduceBounds(Rectangle)
    BaseElement.ReduceLocation(Point)
    BaseElement.ReduceWidth(Int32)
    BaseElement.ReduceHeight(Int32)
    BaseElement.ExpandBounds(Rectangle)
    BaseElement.ExpandLocation(Point)
    BaseElement.ExpandWidth(Int32)
    BaseElement.ExpandHeight(Int32)
    BaseElement.ShiftStartPos(Point)
    BaseElement.ProhibitSpaceBefore()
    BaseElement.PreparePositioning(Point, Rectangle)
    BaseElement.NoWrapEnabled()
    BaseElement.DrawElement(PaintEventArgs)
    BaseElement.Draw(PaintEventArgs)
    BaseElement.DrawBlock(Block, PaintEventArgs)
    BaseElement.ProcessDrawBlock(Block, PaintEventArgs)
    BaseElement.DrawText(Graphics, Rectangle, Text, Block)
    BaseElement.ClientToGlobal(Rectangle)
    BaseElement.GlobalToClient(Rectangle)
    BaseElement.ClientToGlobal(RectangleF)
    BaseElement.GlobalToClient(RectangleF)
    BaseElement.DrawBorders(Block, Graphics)
    BaseElement.ProcessSelection()
    BaseElement.Clone()
    BaseElement.Attributes_Changed(Object, BeforeValueChangedEventArgs)
    BaseElement.ReCalculateDocument()
    BaseElement.ReFormatMergeElement(IHTMLElement)
    BaseElement.ReFormatMergElmAndReCalcDoc(IHTMLElement)
    BaseElement.ReFormatCrtElmAndReCalcDoc(IHTMLElement)
    BaseElement.ReFormatCrtDocAndReCalcDoc(IHTMLElement)
    BaseElement.RePaintDocument()
    BaseElement.RePaintElement(IHTMLElement)
    BaseElement.RePositionDocument()
    BaseElement.RePositionElement(IHTMLElement)
    BaseElement.ChildrenFormatMergeAndRepaintDoc(IHTMLElement)
    BaseElement.ChildrenFormatMerge(IHTMLElement, Boolean)
    BaseElement.ChildrenFormatMergeAndRecalcDoc(IHTMLElement)
    BaseElement.ReFormatMergElmAndChildrenAndReCalcDoc(IHTMLElement)
    BaseElement.OnFormatChanged(IHTMLElement, HTMLFormat, HTMLFormat)
    BaseElement.Graphics
    BaseElement.Parent
    BaseElement.AccessKey
    BaseElement.Attributes
    BaseElement.Children
    BaseElement.Events
    BaseElement.HasChildren
    BaseElement.HasEvents
    BaseElement.Format
    BaseElement.ID
    BaseElement.UniqueID
    BaseElement.InnerHTML
    BaseElement.OuterHTML
    BaseElement.Name
    BaseElement.Item[String]
    BaseElement.TabIndex
    BaseElement.Location
    BaseElement.X
    BaseElement.Y
    BaseElement.Size
    BaseElement.Width
    BaseElement.Height
    BaseElement.IsVisible
    BaseElement.IsResizable
    BaseElement.QuietMode
    BaseElement.Control
    BaseElement.Focused
    BaseElement.Text
    BaseElement.SelectedText
    BaseElement.Storage
    BaseElement.IsPostponed
    BaseElement.SpaceProhibited
    BaseElement.SkipWhiteSpaces
    BaseElement.IsDisposed
    BaseElement.IsAttributeWidth
    BaseElement.IsAttributeHeight
    BaseElement.IsStyleWidth
    BaseElement.IsStyleHeight
    BaseElement.SkipWidth
    BaseElement.IndentSpace
    BaseElement.Document
    BaseElement.IsCDATA
    BaseElement.FocusDefault
    BaseElement.RuntimeAttributes
    BaseElement.ElementOpenPart
    BaseElement.ElementAttributesPart
    BaseElement.ElementClosePart
    BaseElement.RuntimeAttributeChanged
    BaseElement.ParentChanged
    BaseElement.AccessKeyChanged
    BaseElement.UniqueIDChanged
    BaseElement.InnerHTMLChanged
    BaseElement.FormatChanged
    BaseElement.BeforeStyleCalculated
    BaseElement.Paint
    BaseElement.SizeCalculated
    BaseElement.LocationCalculated
    BaseElement.Click
    BaseElement.DoubleClick
    BaseElement.MouseMove
    BaseElement.MouseEnter
    BaseElement.MouseLeave
    BaseElement.MouseDown
    BaseElement.KeyDown
    BaseElement.KeyUp
    BaseElement.KeyPress
    BaseElement.GotFocus
    BaseElement.Leave
    BaseElement.TabIndexChanged
    BaseElement.QuietModeChanged
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.HTMLUI
    Assembly: Syncfusion.HTMLUI.Windows.dll
    Syntax
    [ElementTag("td")]
    public class TDElementImpl : BaseElement, IHTMLElement, ICloneable, IDisposable

    Constructors

    TDElementImpl(IHTMLElement)

    Initializes a new instance of the TDElementImpl class

    Declaration
    public TDElementImpl(IHTMLElement parent)
    Parameters
    Type Name Description
    IHTMLElement parent

    Parent element.

    TDElementImpl(IHTMLElement, String)

    Initializes a new instance of the TDElementImpl class

    Declaration
    protected TDElementImpl(IHTMLElement parent, string tagName)
    Parameters
    Type Name Description
    IHTMLElement parent

    Parent element.

    System.String tagName

    Name of the tag.

    Properties

    Colspan

    Gets number of colspan in the element.

    Declaration
    public int Colspan { get; }
    Property Value
    Type Description
    System.Int32

    ColumnIndex

    Gets the order of the cell in the row.

    Declaration
    public int ColumnIndex { get; }
    Property Value
    Type Description
    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 Description
    HTMLFormat
    Overrides
    BaseElement.OwnFormat

    RowIndex

    Gets the order of the cell in the column.

    Declaration
    public int RowIndex { get; }
    Property Value
    Type Description
    System.Int32

    Rowspan

    Gets the number of rowspan in the element.

    Declaration
    public int Rowspan { get; }
    Property Value
    Type Description
    System.Int32

    SupportedEvents

    Overridden. Returns an array of supported events.

    Declaration
    public override string[] SupportedEvents { get; }
    Property Value
    Type Description
    System.String[]
    Overrides
    BaseElement.SupportedEvents

    Table

    Gets or sets the parent table for this cell element.

    Declaration
    public TABLEElementImpl Table { get; set; }
    Property Value
    Type Description
    TABLEElementImpl

    Methods

    CalculateChildPositions(Point, Rectangle)

    Overridden. Calculates the position of the element.

    Declaration
    protected override BlocksCollection CalculateChildPositions(Point curPosition, Rectangle bounds)
    Parameters
    Type Name Description
    System.Drawing.Point curPosition

    Current position.

    System.Drawing.Rectangle bounds

    Bounds for the element.

    Returns
    Type Description
    BlocksCollection

    Array of the blocks.

    Overrides
    BaseElement.CalculateChildPositions(Point, Rectangle)

    GetParentRow()

    Returns parent row for this cell element.

    Declaration
    protected IHTMLElement GetParentRow()
    Returns
    Type Description
    IHTMLElement

    Parent row for this cell element.

    GetParentTable()

    Returns parent table for this cell element.

    Declaration
    protected IHTMLElement GetParentTable()
    Returns
    Type Description
    IHTMLElement

    Parent table for this cell element.

    GetStyleFromParents(HTMLFormat)

    Inherits from table, parent element's border and background color.

    Declaration
    protected void GetStyleFromParents(HTMLFormat format)
    Parameters
    Type Name Description
    HTMLFormat format

    HTMLFormat instance

    GetUpperCell()

    Returns cell which is above current if it exists; Null otherwise.

    Declaration
    protected BaseElement GetUpperCell()
    Returns
    Type Description
    BaseElement

    Cell which is above current if it exists; Null otherwise.

    GetXFromLeftCells()

    Returns the X coordinate corresponding to cells which are at the left of the current cell. If there are no cells at the left, it returns -1.

    Declaration
    protected int GetXFromLeftCells()
    Returns
    Type Description
    System.Int32

    X coordinate corresponding to cells which are at the left from current cell. If there are no cells at the left; -1 otherwise.

    OnDispose()

    Overridden. Disposes all resources.

    Declaration
    protected override void OnDispose()
    Overrides
    BaseElement.OnDispose()

    ProhibitSpaceAfter()

    Overridden. Sets the value indicating if trailing whitespace must be allowed after element.

    Declaration
    protected override void ProhibitSpaceAfter()
    Overrides
    BaseElement.ProhibitSpaceAfter()

    SetDimensionAttributes()

    Searches for colspan and rowspan attributes and assigns them to variables.

    Declaration
    protected void SetDimensionAttributes()

    SetOwnFormat()

    Sets own format (inherits background color and border from table and tr parent elements).

    Declaration
    protected virtual void SetOwnFormat()

    Implements

    IHTMLElement
    System.ICloneable
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved