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