New to Telerik UI for BlazorStart a free 30-day trial

Represents a pane inside a TelerikSplitter. Configure content via ChildContent, sizing with Size (bounded by Min and Max), visibility through Visible, expand/collapse with Collapsible and Collapsed (CollapsedChanged), and resizing using Resizable. Supports optional scrolling via Scrollable and custom CSS through Class.

Definition

Constructors

C#
public SplitterPane()

Methods

C#
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters:__builderRenderTreeBuilder

Overrides: ComponentBase.BuildRenderTree(RenderTreeBuilder)

C#
public void Dispose()

Implements: IDisposable.Dispose()

C#
protected override Task OnInitializedAsync()
Returns:

Task

Overrides: ComponentBase.OnInitializedAsync()

C#
protected override Task OnParametersSetAsync()
Returns:

Task

Overrides: ComponentBase.OnParametersSetAsync()

C#
public override Task SetParametersAsync(ParameterView parameters)
Parameters:parametersParameterViewReturns:

Task

Overrides: ComponentBase.SetParametersAsync(ParameterView)

Properties

The template of the pane.

C#
[Parameter]
public RenderFragment ChildContent { get; set; }

The CSS class that will be rendered on the main element.

C#
[Parameter]
public string Class { get; set; }

Specifies if the pane is collapsed.

C#
[Parameter]
public bool Collapsed { get; set; }

Triggers when Collapsed parameter has changed.

C#
[Parameter]
public EventCallback<bool> CollapsedChanged { get; set; }

Specifies if the pane can be expanded or collapsed.

C#
[Parameter]
public bool Collapsible { get; set; }

Specifies the maximum size of the pane in pixels or percentages.

C#
[Parameter]
public string Max { get; set; }

Specifies the minimum size of the pane in pixels or percentages.

C#
[Parameter]
public string Min { get; set; }

Specifies if the pane can be resized.

C#
[Parameter]
public bool Resizable { get; set; }

Specifies if the pane shows scrollbars when the content does not fit.

C#
[Parameter]
public bool Scrollable { get; set; }

Specifies the size of the pane in pixels or percentages. Has to be between the Min and Max properties.

C#
[Parameter]
public string Size { get; set; }

Triggers when Size parameter has changed.

C#
[Parameter]
public EventCallback<string> SizeChanged { get; set; }

[Accessibility] Specifies the TabIndex of the SplitterPane component.

C#
[Parameter]
public int? TabIndex { get; set; }

Specifies if the pane is displayed. This is different from the "Collapsed" parameter, which controls whether the content of the pane is visible or not, but its action buttons for expand, collapse and resize actions are always visible.

C#
[Parameter]
public bool Visible { get; set; }