Interface ITreeTableLayout
Represents a layout of columns that is shared between nodes in a tree view, using a ITreeTableRowLayoutComponent. By sharing the interaces different nodes on the list can align the columns together.
Inherited Members
Namespace: AGS.API
Assembly: AGS.API.dll
Syntax
public interface ITreeTableLayout : IDisposable
Properties
| Improve this Doc View SourceColumnPadding
Gets or sets the column padding.
Declaration
float ColumnPadding { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The column padding. |
ColumnSizes
Gets the column sizes.
Declaration
IAGSBindingList<float> ColumnSizes { get; }
Property Value
Type | Description |
---|---|
IAGSBindingList<System.Single> | The column sizes. |
OnQueryLayout
The table layout fires this event when it needs to query the column sizes from all the rows. The rows respond by setting their sizes, so at the end of the event, the layout knows the biggest length needed for each column.
Declaration
IBlockingEvent<QueryLayoutEventArgs> OnQueryLayout { get; }
Property Value
Type | Description |
---|---|
IBlockingEvent<QueryLayoutEventArgs> | The query layout event. |
OnRefreshLayoutNeeded
Once the table layout calculates new column sizes it fires this event, for which all the rows should listen and readjust their columns accordingly. If a specific row is passed, only that row needs to recalculate. If the passed row is null, all rows need to recalculate.
Declaration
IBlockingEvent<ITreeTableRowLayoutComponent> OnRefreshLayoutNeeded { get; }
Property Value
Type | Description |
---|---|
IBlockingEvent<ITreeTableRowLayoutComponent> | The refresh layout event. |
Rows
Gets the rows.
Declaration
IAGSBindingList<ITreeTableRowLayoutComponent> Rows { get; }
Property Value
Type | Description |
---|---|
IAGSBindingList<ITreeTableRowLayoutComponent> | The rows. |
StartX
Gets or sets the start x.
Declaration
float StartX { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The start x. |
Methods
| Improve this Doc View SourcePerformLayout()
Performs the layout.
Declaration
void PerformLayout()