Class TableLayoutManager
The TableTreeLayoutManager is a laying out nodes to table style.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public class TableLayoutManager : LayoutManager
Remarks
Constructors
TableLayoutManager()
Initializes a new instance of the TableLayoutManager class.
Declaration
public TableLayoutManager()
TableLayoutManager(Model, Int32, Int32)
Initializes a new instance of the TableLayoutManager class.
Declaration
public TableLayoutManager(Model model, int nMaxColumnCount, int nMaxRowsCount)
Parameters
| Type | Name | Description |
|---|---|---|
| Model | model | The model. |
| System.Int32 | nMaxColumnCount | The max columns count. |
| System.Int32 | nMaxRowsCount | The max rows count. |
Fields
m_fBorder
Declaration
protected float m_fBorder
Field Value
| Type |
|---|
| System.Single |
Properties
CellSizeMode
Gets or sets the cell size mode.
Declaration
public CellSizeMode CellSizeMode { get; set; }
Property Value
| Type | Description |
|---|---|
| CellSizeMode | The cell size mode. |
HorizontalSpacing
Gets or sets the horizontal offset between adjacent nodes.
Declaration
public float HorizontalSpacing { get; set; }
Property Value
| Type |
|---|
| System.Single |
MaxColummnCount
Gets or sets the horizontal cell count in table.
Declaration
public int MaxColummnCount { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The horizontal count. |
MaxRowsCount
Gets or sets the vertical cell count in table.
Declaration
public int MaxRowsCount { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The vertical count. |
MaxSize
Gets or sets the size of the cell.
Declaration
public SizeF MaxSize { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Drawing.SizeF | The size of the cell. |
MeasurementUnits
Gets or sets unit of measure.
Declaration
public MeasureUnits MeasurementUnits { get; set; }
Property Value
| Type |
|---|
| MeasureUnits |
Orientation
Gets or sets the orientation way of lay out.
Declaration
public Orientation Orientation { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Windows.Forms.Orientation | The orientation. |
VerticalSpacing
Gets or sets the vertical offset between adjacent nodes.
Declaration
public float VerticalSpacing { get; set; }
Property Value
| Type |
|---|
| System.Single |
Methods
UpdateLayout(Object)
Updates the layout of the nodes in the model.
Declaration
public override bool UpdateLayout(object contextInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | contextInfo | Provides context information to help with updating the layout. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if changes were made; otherwise False. |