Class TableRow
Represents a Table Row.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
---|
CellCollection |
Height
Gets/sets height of the row.
Declaration
public float Height { get; set; }
Property Value
Type |
---|
System.Single |
HeightType
Get/set table row height type
Declaration
public TableRowHeightType HeightType { get; set; }
Property Value
Type |
---|
TableRowHeightType |
IsHeader
Gets/sets whether the row is a table header.
Declaration
public bool IsHeader { get; set; }
Property Value
Type |
---|
System.Boolean |
OwnerTable
Declaration
public Table OwnerTable { get; }
Property Value
Type |
---|
Table |
Methods
CalculateDinamicCellWidth()
Declaration
protected float CalculateDinamicCellWidth()
Returns
Type |
---|
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 |
---|
TableRow |
CloneImpl(Table)
Declaration
protected virtual TableRow CloneImpl(Table table)
Parameters
Type | Name | Description |
---|---|---|
Table | table |
Returns
Type |
---|
TableRow |
CreateLayoutInfo()
Declaration
protected override void CreateLayoutInfo()
Overrides
GetRowIndex()
Returns index of the row in owner table.
Declaration
public int GetRowIndex()
Returns
Type |
---|
System.Int32 |
InitXDLSHolder()
Declaration
protected override void InitXDLSHolder()
Overrides
ReadXmlAttributes(IXDLSAttributeReader)
Declaration
protected override void ReadXmlAttributes(IXDLSAttributeReader reader)
Parameters
Type | Name | Description |
---|---|---|
IXDLSAttributeReader | reader |
Overrides
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
Explicit Interface Implementations
IWidget.Draw(CustomGraphics, LayoutedWidget)
Declaration
void IWidget.Draw(CustomGraphics cg, LayoutedWidget ltWidget)
Parameters
Type | Name | Description |
---|---|---|
CustomGraphics | cg | |
LayoutedWidget | ltWidget |