Class RadzenSplitter
RadzenSplitter component.
Inherited Members
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenSplitter : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
RadzenSplitter()
RadzenSplitter component.
Declaration
public RadzenSplitter()
Properties
ChildContent
Gets or sets the child content.
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
Type | Description |
---|---|
RenderFragment | The child content. |
Collapse
Gets or sets the collapse callback.
Declaration
[Parameter]
public EventCallback<RadzenSplitterEventArgs> Collapse { get; set; }
Property Value
Type | Description |
---|---|
EventCallback<RadzenSplitterEventArgs> | The collapse callback. |
Expand
Gets or sets the expand callback.
Declaration
[Parameter]
public EventCallback<RadzenSplitterEventArgs> Expand { get; set; }
Property Value
Type | Description |
---|---|
EventCallback<RadzenSplitterEventArgs> | The expand callback. |
IsResizing
Value indicating if the splitter is resizing.
Declaration
public bool IsResizing { get; }
Property Value
Type | Description |
---|---|
bool |
Orientation
Gets or sets the orientation.
Declaration
[Parameter]
public Orientation Orientation { get; set; }
Property Value
Type | Description |
---|---|
Orientation | The orientation. |
Resize
Gets or sets the resize callback.
Declaration
[Parameter]
public EventCallback<RadzenSplitterResizeEventArgs> Resize { get; set; }
Property Value
Type | Description |
---|---|
EventCallback<RadzenSplitterResizeEventArgs> | The resize callback. |
Methods
AddPane(RadzenSplitterPane)
Adds the pane.
Declaration
public void AddPane(RadzenSplitterPane pane)
Parameters
Type | Name | Description |
---|---|---|
RadzenSplitterPane | pane | The pane. |
BuildRenderTree(RenderTreeBuilder)
RadzenSplitter component.
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
RenderTreeBuilder | __builder |
Overrides
GetComponentCssClass()
Gets the component CSS class.
Declaration
protected override string GetComponentCssClass()
Returns
Type | Description |
---|---|
string |
Overrides
OnPaneResized(int, double, int?, double?)
Called when pane resized.
Declaration
[JSInvokable("RadzenSplitter.OnPaneResized")]
public Task OnPaneResized(int paneIndex, double sizeNew, int? paneNextIndex, double? sizeNextNew)
Parameters
Type | Name | Description |
---|---|---|
int | paneIndex | Index of the pane. |
double | sizeNew | The size new. |
int? | paneNextIndex | Index of the pane next. |
double? | sizeNextNew | The size next new. |
Returns
Type | Description |
---|---|
Task |
OnPaneResizing()
Called on pane resizing.
Declaration
[JSInvokable("RadzenSplitter.OnPaneResizing")]
public Task OnPaneResizing()
Returns
Type | Description |
---|---|
Task |
Refresh()
Refreshes this instance.
Declaration
public void Refresh()
RemovePane(RadzenSplitterPane)
Removes the pane.
Declaration
public void RemovePane(RadzenSplitterPane pane)
Parameters
Type | Name | Description |
---|---|---|
RadzenSplitterPane | pane | The pane. |