Class
TelerikSplitter

The class for the Telerik Splitter component.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

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.DisExceptionAsync(Exception)ComponentBase.SetParametersAsync(ParameterView)

Constructors

TelerikSplitter()

Declaration

public TelerikSplitter()

Properties

AriaLabel

Specifies the aria-label attribute of the component.

Declaration

[Parameter]
public string AriaLabel { get; set; }

Property Value

string

Height

Specifies the height of the component.

Declaration

[Parameter]
public string Height { get; set; }

Property Value

string

Id

The id of the component.

Declaration

[Parameter]
public string Id { get; set; }

Property Value

string

OnCollapse

The event that is triggered after a pane is collapsed.

Declaration

[Parameter]
public EventCallback<SplitterCollapseEventArgs> OnCollapse { get; set; }

Property Value

EventCallback<SplitterCollapseEventArgs>

OnExpand

The event that is triggered after a pane is expanded.

Declaration

[Parameter]
public EventCallback<SplitterExpandEventArgs> OnExpand { get; set; }

Property Value

EventCallback<SplitterExpandEventArgs>

OnResize

The event that is triggered after a pane is resized.

Declaration

[Parameter]
public EventCallback<SplitterResizeEventArgs> OnResize { get; set; }

Property Value

EventCallback<SplitterResizeEventArgs>

Orientation

Specifies the orientation of the component.

Declaration

[Parameter]
public SplitterOrientation Orientation { get; set; }

Property Value

SplitterOrientation

SplitterPanes

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

Declaration

[Parameter]
public RenderFragment SplitterPanes { get; set; }

Property Value

RenderFragment

Width

Specifies the width of the component.

Declaration

[Parameter]
public string Width { get; set; }

Property Value

string

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

Dispose()

Declaration

public override void Dispose()

Overrides BaseComponent.Dispose()

GetState()

Gets the current state of the component.

Declaration

public SplitterState GetState()

Returns

SplitterState

OnAfterRenderAsync(bool)

Declaration

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

public void SetState(SplitterState newState)

Parameters

newState

SplitterState