WinForms

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

    Show / Hide Table of Contents

    Class TableCell

    Represents a Table Cell.

    Inheritance
    System.Object
    EntityBase
    XDLSSerializableBase
    WidgetBase
    WidgetContainer
    TextBody
    TableCell
    Implements
    IXDLSSerializable
    ITextBody
    IEntityBase
    IWidgetContainer
    IWidget
    Inherited Members
    TextBody.m_paragraphs
    TextBody.AddParagraph()
    TextBody.InsertHTML(String)
    TextBody.InsertHTML(String, Int32)
    TextBody.InsertHTML(String, Int32, Int32)
    TextBody.Paragraphs
    WidgetContainer.Count
    WidgetContainer.Item[Int32]
    WidgetBase.m_layoutInfo
    WidgetBase.DrawImpl(CustomGraphics, LayoutedWidget)
    WidgetBase.IWidget.LayoutInfo
    XDLSSerializableBase.m_id
    XDLSSerializableBase.IXDLSSerializable.WriteXmlAttributes(IXDLSAttributeWriter)
    XDLSSerializableBase.IXDLSSerializable.WriteXmlContent(IXDLSContentWriter)
    XDLSSerializableBase.IXDLSSerializable.ReadXmlAttributes(IXDLSAttributeReader)
    XDLSSerializableBase.IXDLSSerializable.ReadXmlContent(IXDLSContentReader)
    XDLSSerializableBase.IXDLSSerializable.RestoreReference(String, Int32)
    XDLSSerializableBase.WriteXmlContent(IXDLSContentWriter)
    XDLSSerializableBase.ReadXmlContent(IXDLSContentReader)
    XDLSSerializableBase.RestoreReference(String, Int32)
    XDLSSerializableBase.IXDLSSerializable.XDLSHolder
    XDLSSerializableBase.XDLSHolder
    EntityBase.SetOwner(IEntityBase)
    EntityBase.Owner
    EntityBase.Document
    EntityBase.DocumentEx
    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.DLS
    Assembly: Syncfusion.DLS.Base.dll
    Syntax
    public class TableCell : TextBody, IXDLSSerializable, ITextBody, IEntityBase, IWidgetContainer, IWidget

    Constructors

    TableCell(TableCell, TableRow)

    Initializing constructor.

    Declaration
    protected TableCell(TableCell cell, TableRow row)
    Parameters
    Type Name Description
    TableCell cell
    TableRow row

    TableCell(TableRow)

    Creates TableCell object for specified row.

    Declaration
    public TableCell(TableRow row)
    Parameters
    Type Name Description
    TableRow row

    Properties

    CellFormat

    Gets cell format.

    Declaration
    public CellFormat CellFormat { get; }
    Property Value
    Type Description
    CellFormat
    Remarks

    Not supported by Essential DPF

    IsFixedWith

    Gets if size of cell is fixed.

    Declaration
    protected bool IsFixedWith { get; }
    Property Value
    Type Description
    System.Boolean

    OwnerRow

    Gets owner row of the cell.

    Declaration
    public TableRow OwnerRow { get; }
    Property Value
    Type Description
    TableRow

    WidgetCollection

    Declaration
    protected override ICollectionBase WidgetCollection { get; }
    Property Value
    Type Description
    ICollectionBase
    Overrides
    TextBody.WidgetCollection

    Width

    Gets / sets cell width.

    Declaration
    public float Width { get; set; }
    Property Value
    Type Description
    System.Single
    Remarks

    Not supported by Essential DPF

    Methods

    Clone(TableRow)

    Clones itself for specified row.

    Declaration
    public TableCell Clone(TableRow row)
    Parameters
    Type Name Description
    TableRow row
    Returns
    Type Description
    TableCell

    CloneImpl(TableRow)

    Declaration
    protected virtual TableCell CloneImpl(TableRow row)
    Parameters
    Type Name Description
    TableRow row
    Returns
    Type Description
    TableCell

    CreateLayoutInfo()

    Declaration
    protected override void CreateLayoutInfo()
    Overrides
    TextBody.CreateLayoutInfo()

    GetCellIndex()

    Get cell index in the table row.

    Declaration
    public int GetCellIndex()
    Returns
    Type Description
    System.Int32

    InitXDLSHolder()

    Declaration
    protected override void InitXDLSHolder()
    Overrides
    TextBody.InitXDLSHolder()

    ReadXmlAttributes(IXDLSAttributeReader)

    Declaration
    protected override void ReadXmlAttributes(IXDLSAttributeReader reader)
    Parameters
    Type Name Description
    IXDLSAttributeReader reader
    Overrides
    XDLSSerializableBase.ReadXmlAttributes(IXDLSAttributeReader)

    UpdateWidth(Single)

    Declaration
    protected void UpdateWidth(float width)
    Parameters
    Type Name Description
    System.Single width

    UpdateWidth(Single, Boolean)

    Declaration
    protected void UpdateWidth(float width, bool saveFixed)
    Parameters
    Type Name Description
    System.Single width
    System.Boolean saveFixed

    WriteXmlAttributes(IXDLSAttributeWriter)

    Declaration
    protected override void WriteXmlAttributes(IXDLSAttributeWriter writer)
    Parameters
    Type Name Description
    IXDLSAttributeWriter writer
    Overrides
    XDLSSerializableBase.WriteXmlAttributes(IXDLSAttributeWriter)

    Explicit Interface Implementations

    IWidget.Draw(CustomGraphics, LayoutedWidget)

    Declaration
    void IWidget.Draw(CustomGraphics cg, LayoutedWidget ltWidget)
    Parameters
    Type Name Description
    CustomGraphics cg
    LayoutedWidget ltWidget

    Implements

    IXDLSSerializable
    ITextBody
    IEntityBase
    IWidgetContainer
    IWidget
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved