Table of Contents

Class ColumnsPanel

Namespace
The.Web.Controls
Assembly
Instagile.Web.Client.dll
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

RenderFragment

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

bool

Unbalanced

Fill columns in order instead of equal-height.

[Parameter]
public bool Unbalanced { get; set; }

Property Value

bool

Methods

BuildRenderTree(RenderTreeBuilder)

Renders the component to the supplied RenderTreeBuilder.

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

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()