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