Class
TelerikSplitter

The class for the Telerik Splitter component.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class TelerikSplitter : BaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseBaseComponentTelerikSplitter

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members BaseComponent.ShouldRender()BaseComponent.OnInitializedAsync()BaseComponent.InitLocalizer()BaseComponent.ThrowIfParameterIsNull(object, string)BaseComponent.HaveOptionsChanged(IDictionary<string, object>, IDictionary<string, object>)BaseComponent.GetClassString(params string[])BaseComponent.InvokeAsync<T>(string, params object[])BaseComponent.InvokeAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidAsync(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidComponentMethodAsync(string, params object[])BaseComponent.InvokeComponentVoidMethodAsync(string, object)BaseComponent.InvokeDisposeAsync()BaseComponent.StateHasChanged()BaseComponent.RootComponentBaseComponent.ClassComponentBase.OnInitialized()ComponentBase.OnParametersSet()ComponentBase.OnParametersSetAsync()ComponentBase.OnAfterRender(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.SetParametersAsync(ParameterView)

Constructors

TelerikSplitter()

Declaration

cs-api-definition
public TelerikSplitter()

Properties

AriaLabel

Specifies the aria-label attribute of the component.

Declaration

cs-api-definition
[Parameter]
public string AriaLabel { get; set; }

Property Value

string

Height

Specifies the height of the component.

Declaration

cs-api-definition
[Parameter]
public string Height { get; set; }

Property Value

string

OnCollapse

The event that is triggered after a pane is collapsed.

Declaration

cs-api-definition
[Parameter]
public EventCallback<SplitterCollapseEventArgs> OnCollapse { get; set; }

Property Value

EventCallback<SplitterCollapseEventArgs>

OnExpand

The event that is triggered after a pane is expanded.

Declaration

cs-api-definition
[Parameter]
public EventCallback<SplitterExpandEventArgs> OnExpand { get; set; }

Property Value

EventCallback<SplitterExpandEventArgs>

OnResize

The event that is triggered after a pane is resized.

Declaration

cs-api-definition
[Parameter]
public EventCallback<SplitterResizeEventArgs> OnResize { get; set; }

Property Value

EventCallback<SplitterResizeEventArgs>

Orientation

Specifies the orientation of the component.

Declaration

cs-api-definition
[Parameter]
public SplitterOrientation Orientation { get; set; }

Property Value

SplitterOrientation

SplitterPanes

Specifies the splitter panes. Add SplitterPane tags inside this tag.

Declaration

cs-api-definition
[Parameter]
public RenderFragment SplitterPanes { get; set; }

Property Value

RenderFragment

Width

Specifies the width of the component.

Declaration

cs-api-definition
[Parameter]
public string Width { get; set; }

Property Value

string

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

Dispose()

Declaration

cs-api-definition
public override void Dispose()

Overrides BaseComponent.Dispose()

GetState()

Gets the current state of the component.

Declaration

cs-api-definition
public SplitterState GetState()

Returns

SplitterState

OnAfterRenderAsync(bool)

Declaration

cs-api-definition
protected override Task OnAfterRenderAsync(bool firstRender)

Parameters

firstRender

bool

Returns

Task

Overrides BaseComponent.OnAfterRenderAsync(bool)

SetState(SplitterState)

Sets the new state of the component.

Declaration

cs-api-definition
public void SetState(SplitterState newState)

Parameters

newState

SplitterState