Class BOBSplitterPane
- Namespace
- BlazOrbit.Components
- Assembly
- BlazOrbit.dll
[GenerateComponentInfo]
public class BOBSplitterPane : ComponentBase
- Inheritance
-
objectComponentBaseBOBSplitterPane
Constructors
BOBSplitterPane()
public BOBSplitterPane()
Properties
ChildContent
Markup rendered inside the pane.
[Parameter]
public RenderFragment? ChildContent { get; set; }
Property Value
- RenderFragment
Flex
When true, the pane absorbs the leftover space and the drag-resize cannot fix its size. Useful for the "main content" pane in a docs layout. Only one flex pane per splitter is meaningful.
[Parameter]
public bool Flex { get; set; }
Property Value
- bool
MaxSize
Maximum pane size in pixels. 0 means unbounded. Defaults to 0.
[Parameter]
public double MaxSize { get; set; }
Property Value
- double
MinSize
Minimum pane size in pixels. Drag is clamped here. Defaults to 80.
[Parameter]
public double MinSize { get; set; }
Property Value
- double
Parent
Parent BOBSplitter container that owns this pane. Cascaded automatically.
[CascadingParameter]
public BOBSplitter? Parent { get; set; }
Property Value
Size
Initial pane size in pixels along the splitter axis. 0 = let the pane flex.
[Parameter]
public double Size { get; set; }
Property Value
- double
Methods
BuildRenderTree(RenderTreeBuilder)
Renders the component to the supplied Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builderRenderTreeBuilder
Dispose()
public void Dispose()
OnInitialized()
Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree.
protected override void OnInitialized()