WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TableRow

    Show / Hide Table of Contents

    Class TableRow

    Represents a Table Row.

    Inheritance
    System.Object
    EntityBase
    XDLSSerializableBase
    WidgetBase
    TableRow
    Implements
    IEntityBase
    IXDLSSerializable
    IWidget
    Inherited Members
    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 TableRow : WidgetBase, IEntityBase, IXDLSSerializable, IWidget

    Constructors

    TableRow(Table)

    Creates TableRow object for specified table.

    Declaration
    public TableRow(Table owner)
    Parameters
    Type Name Description
    Table owner

    TableRow(TableRow, Table)

    Declaration
    protected TableRow(TableRow row, Table owner)
    Parameters
    Type Name Description
    TableRow row
    Table owner

    Properties

    Cells

    Gets/sets cell collection.

    Declaration
    public CellCollection Cells { get; set; }
    Property Value
    Type Description
    CellCollection

    Height

    Gets/sets height of the row.

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

    HeightType

    Get/set table row height type

    Declaration
    public TableRowHeightType HeightType { get; set; }
    Property Value
    Type Description
    TableRowHeightType

    IsHeader

    Gets/sets whether the row is a table header.

    Declaration
    public bool IsHeader { get; set; }
    Property Value
    Type Description
    System.Boolean

    OwnerTable

    Declaration
    public Table OwnerTable { get; }
    Property Value
    Type Description
    Table

    Methods

    CalculateDinamicCellWidth()

    Declaration
    protected float CalculateDinamicCellWidth()
    Returns
    Type Description
    System.Single

    Clone(Table)

    Clones itself and sets new owner document.

    Declaration
    public TableRow Clone(Table table)
    Parameters
    Type Name Description
    Table table
    Returns
    Type Description
    TableRow

    CloneImpl(Table)

    Declaration
    protected virtual TableRow CloneImpl(Table table)
    Parameters
    Type Name Description
    Table table
    Returns
    Type Description
    TableRow

    CreateLayoutInfo()

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

    GetRowIndex()

    Returns index of the row in owner table.

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

    InitXDLSHolder()

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

    ReadXmlAttributes(IXDLSAttributeReader)

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

    ResetCells()

    Reset all cells to default state.

    Declaration
    protected void ResetCells()

    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

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