Class TableLayoutPanelBuilder
Represents an operator that specifies a mashup visualizer panel that can be used to arrange other visualizers in a grid.
Inherited Members
Namespace: Bonsai.Design.Visualizers
Assembly: Bonsai.Design.Visualizers.dll
Syntax
[TypeVisualizer(typeof(TableLayoutPanelVisualizer))]
public class TableLayoutPanelBuilder : VariableArgumentExpressionBuilder, IExpressionBuilder, INamedElement
Constructors
| Improve this Doc View SourceTableLayoutPanelBuilder()
Initializes a new instance of the TableLayoutPanelBuilder class.
Declaration
public TableLayoutPanelBuilder()
Properties
| Improve this Doc View SourceCellSpans
Gets a collection of TableLayoutPanelCellSpan objects specifying the column and row span of each cell in the visualizer grid layout.
Declaration
public Collection<TableLayoutPanelCellSpan> CellSpans { get; }
Property Value
Type | Description |
---|---|
Collection<TableLayoutPanelCellSpan> |
ColumnCount
Gets or sets the number of columns in the visualizer grid layout.
Declaration
public int ColumnCount { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
ColumnStyles
Gets a collection of ColumnStyle objects specifying the size ratio of the columns in the visualizer grid layout.
Declaration
public Collection<ColumnStyle> ColumnStyles { get; }
Property Value
Type | Description |
---|---|
Collection<ColumnStyle> |
Name
Gets or sets the name of the visualizer window.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
RowCount
Gets or sets the number of rows in the visualizer grid layout.
Declaration
public int RowCount { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
RowStyles
Gets a collection of RowStyle objects specifying the size ratio of the rows in the visualizer grid layout.
Declaration
public Collection<RowStyle> RowStyles { get; }
Property Value
Type | Description |
---|---|
Collection<RowStyle> |
Methods
| Improve this Doc View SourceBuild(IEnumerable<Expression>)
Builds the expression tree for configuring and calling the table layout panel visualizer.
Declaration
public override Expression Build(IEnumerable<Expression> arguments)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Expression> | arguments | A collection of Expression nodes representing the input arguments. |
Returns
Type | Description |
---|---|
Expression | The constructed Expression node. |