ClassTelerikSplitter
A component that arranges content into resizable panes separated by draggable split bars. Configure orientation via SplitterOrientation and size with Width/Height; define panes through SplitterPanes using SplitterPane. Emits pane lifecycle events: OnResize after a pane is resized, OnExpand when a pane is expanded, and OnCollapse when a pane is collapsed. Supports pane options (size/min/max/collapsible/visible/resizable), programmatic state get/set via GetState()/SetState(SplitterState), and ARIA labeling through AriaLabel. Children: SplitterPanes.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class TelerikSplitter : BaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentTelerikSplitter
Implements:
Inherited Members
Constructors
TelerikSplitter()
Declaration
public TelerikSplitter()
Properties
AriaLabel
Specifies the aria-label attribute of the component.
Declaration
[Parameter]
public string AriaLabel { get; set; }
Property Value
Height
Specifies the height of the component.
Id
The id of the component.
OnCollapse
The event that is triggered after a pane is collapsed.
Declaration
[Parameter]
public EventCallback<SplitterCollapseEventArgs> OnCollapse { get; set; }
Property Value
OnExpand
The event that is triggered after a pane is expanded.
Declaration
[Parameter]
public EventCallback<SplitterExpandEventArgs> OnExpand { get; set; }
Property Value
OnResize
The event that is triggered after a pane is resized.
Declaration
[Parameter]
public EventCallback<SplitterResizeEventArgs> OnResize { get; set; }
Property Value
Orientation
Specifies the orientation of the component.
Declaration
[Parameter]
public SplitterOrientation Orientation { get; set; }
Property Value
SplitterPanes
Specifies the splitter panes. Add SplitterPane tags inside this tag. Children: SplitterPane.
Declaration
[Parameter]
public RenderFragment SplitterPanes { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
Dispose()
Declaration
public override void Dispose()
Overrides
GetState()
Gets the current state of the component.
SetState(SplitterState)
Sets the new state of the component.
Declaration
public void SetState(SplitterState newState)
Parameters
newState