Class Table
Inheritance
System.Object
Table
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()
Assembly: Syncfusion.DLS.Base.dll
Syntax
public class Table : ParagraphItem, IXDLSSerializable, ITable, IParagraphItem, IEntityBase, ITableWidget, IWidget
Constructors
Table(IDocument)
Declaration
public Table(IDocument doc)
Parameters
Table(ITable, IParagraph)
Declaration
protected Table(ITable table, IParagraph paragraph)
Parameters
Properties
Columns
Declaration
public TableColumnCollection Columns { get; }
Property Value
Item[Int32, Int32]
Get tavble cell by row and column index
Declaration
public TableCell this[int row, int column] { get; }
Parameters
Type |
Name |
Description |
System.Int32 |
row |
|
System.Int32 |
column |
|
Property Value
LastCell
Get last cell of the table
Declaration
public TableCell LastCell { get; }
Property Value
LastRow
Get last row of the table
Declaration
public TableRow LastRow { get; }
Property Value
Rows
Declaration
public RowCollection Rows { get; }
Property Value
Declaration
public TableFormat TableFormat { get; }
Property Value
Width
Declaration
public float Width { get; set; }
Property Value
Methods
AddColumn()
Declaration
AddColumn(Int32)
Adds several columns to table
Declaration
public void AddColumn(int columnsCount)
Parameters
Type |
Name |
Description |
System.Int32 |
columnsCount |
|
AddRow()
Declaration
Returns
AddRow(Boolean)
Adds row to table with copy format option
Declaration
public TableRow AddRow(bool isCopyFormat)
Parameters
Type |
Name |
Description |
System.Boolean |
isCopyFormat |
Indicates whether copy format from previous row or not
|
Returns
Clone(IParagraph)
Declaration
public override IParagraphItem Clone(IParagraph paragraph)
Parameters
Returns
Overrides
CorrectTableCellWidths()
Declaration
protected void CorrectTableCellWidths()
CorrectTableWidth(TableRow)
Declaration
protected void CorrectTableWidth(TableRow row)
Parameters
CreateLayoutInfo()
Declaration
protected override void CreateLayoutInfo()
Overrides
InitXDLSHolder()
Declaration
protected override void InitXDLSHolder()
Overrides
ReadXmlAttributes(IXDLSAttributeReader)
Declaration
protected override void ReadXmlAttributes(IXDLSAttributeReader reader)
Parameters
Overrides
ResetCells(Int32, Int32)
Resets all cells to default state
Declaration
public void ResetCells(int rowsNum, int columnsNum)
Parameters
Type |
Name |
Description |
System.Int32 |
rowsNum |
|
System.Int32 |
columnsNum |
|
WriteXmlAttributes(IXDLSAttributeWriter)
Declaration
protected override void WriteXmlAttributes(IXDLSAttributeWriter writer)
Parameters
Overrides
Explicit Interface Implementations
Declaration
int ITableWidget.ColumnsCount { get; }
Returns
Declaration
IWidgetContainer ITableWidget.GetCellWidget(int row, int column)
Parameters
Type |
Name |
Description |
System.Int32 |
row |
|
System.Int32 |
column |
|
Returns
Declaration
IWidget ITableWidget.GetRowWidget(int row)
Parameters
Type |
Name |
Description |
System.Int32 |
row |
|
Returns
Declaration
int ITableWidget.RowsCount { get; }
Returns
Declaration
ITableLayoutInfo ITableWidget.TableLayoutInfo { get; }
Returns
Declaration
void IWidget.Draw(CustomGraphics cg, LayoutedWidget ltWidget)
Parameters
Implements