Class ColumnsPanel
public class ColumnsPanel : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender
- Inheritance
-
ColumnsPanel
- Implements
- Inherited Members
Properties
ChildContent
The panel's children, which will be broken into columns to fill available width.
[Parameter]
public RenderFragment? ChildContent { get; set; }
Property Value
ColumnCount
Force a specific column count (usually determined from available width).
[Parameter]
public int? ColumnCount { get; set; }
Property Value
- int?
ColumnWidth
Override the default column width (120 units).
[Parameter]
public int? ColumnWidth { get; set; }
Property Value
- int?
MinRows
If set, the panel will have a minimum height even when there's space for more columns.
[Parameter]
public int? MinRows { get; set; }
Property Value
- int?
SplitChildren
Allow breaking within direct children - useful if the panel contains another panel.
[Parameter]
public bool SplitChildren { get; set; }
Property Value
Unbalanced
Fill columns in order instead of equal-height.
[Parameter]
public bool Unbalanced { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Renders the component to the supplied RenderTreeBuilder.
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builderRenderTreeBuilder
OnParametersSet()
Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.
protected override void OnParametersSet()