Class TableCell
Represents a Table Cell.
Inheritance
System.Object
TableCell
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 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 |
---|
CellFormat |
Remarks
Not supported by Essential DPF
IsFixedWith
Gets if size of cell is fixed.
Declaration
protected bool IsFixedWith { get; }
Property Value
Type |
---|
System.Boolean |
OwnerRow
Gets owner row of the cell.
Declaration
public TableRow OwnerRow { get; }
Property Value
Type |
---|
TableRow |
WidgetCollection
Declaration
protected override ICollectionBase WidgetCollection { get; }
Property Value
Type |
---|
ICollectionBase |
Overrides
Width
Gets / sets cell width.
Declaration
public float Width { get; set; }
Property Value
Type |
---|
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 |
---|
TableCell |
CloneImpl(TableRow)
Declaration
protected virtual TableCell CloneImpl(TableRow row)
Parameters
Type | Name | Description |
---|---|---|
TableRow | row |
Returns
Type |
---|
TableCell |
CreateLayoutInfo()
Declaration
protected override void CreateLayoutInfo()
Overrides
GetCellIndex()
Get cell index in the table row.
Declaration
public int GetCellIndex()
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
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
Explicit Interface Implementations
IWidget.Draw(CustomGraphics, LayoutedWidget)
Declaration
void IWidget.Draw(CustomGraphics cg, LayoutedWidget ltWidget)
Parameters
Type | Name | Description |
---|---|---|
CustomGraphics | cg | |
LayoutedWidget | ltWidget |