Class RadzenSplitter
RadzenSplitter component.
Implements
Inherited Members
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenSplitter : RadzenComponent, IDisposable
Properties
ChildContent
Gets or sets the child content.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type | Description |
---|---|
RenderFragment | The child content. |
Collapse
Gets or sets the collapse callback.
Declaration
public EventCallback<RadzenSplitterEventArgs> Collapse { get; set; }
Property Value
Type | Description |
---|---|
EventCallback<RadzenSplitterEventArgs> | The collapse callback. |
Expand
Gets or sets the expand callback.
Declaration
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 |
---|---|
System.Boolean |
Orientation
Gets or sets the orientation.
Declaration
public Orientation Orientation { get; set; }
Property Value
Type | Description |
---|---|
Orientation | The orientation. |
Resize
Gets or sets the resize callback.
Declaration
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. |
GetComponentCssClass()
Gets the component CSS class.
Declaration
protected override string GetComponentCssClass()
Returns
Type | Description |
---|---|
System.String |
Overrides
OnPaneResized(Int32, Double, Nullable<Int32>, Nullable<Double>)
Called when pane resized.
Declaration
public async Task OnPaneResized(int paneIndex, double sizeNew, int? paneNextIndex, double? sizeNextNew)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | paneIndex | Index of the pane. |
System.Double | sizeNew | The size new. |
System.Nullable<System.Int32> | paneNextIndex | Index of the pane next. |
System.Nullable<System.Double> | sizeNextNew | The size next new. |
Returns
Type | Description |
---|---|
Task |
OnPaneResizing()
Called on pane resizing.
Declaration
public async 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. |