Blazorise Splitter API

Explore the Blazorise Splitter API reference for parameters, events, methods, and related types.

For examples and usage guidance, see the Splitter documentation.

API

Parameters

Splitter

Parameter Description TypeDefault
ChildContent

Specifies the content to be rendered inside this Splitter.

RenderFragmentnull
Cursor

Cursor to display while dragging.

string
Direction

Direction to split.

Possible values:Horizontal, Vertical

SplitterDirectionSplitterDirection.Horizontal
DragInterval

Drag this number of pixels at a time. Defaults to 1 for smooth dragging, but can be set to a pixel value to give more control over the resulting sizes. Works particularly well when the GutterSize is set to the same size.

double1
ExpandToMin

When the splitter is created, if ExpandToMin is true, the minSize for each element overrides the percentage value from the sizes option.

bool?null
GutterAlign

Determines how the gutter aligns between the two elements.

Possible values:Start, Center, End

SplitterGutterAlignmentSplitterGutterAlignment.Center
GutterBackgroundImage

Defines the custom background image for the gutter element.

This parameter accepts either a Base64 encoded string that represents an image, or a URL that points to an image resource.

string
GutterSize

Gutter size in pixels. Defaults to 10.

double10

SplitterSection

Parameter Description TypeDefault
ChildContent

Specifies the content to be rendered inside this SplitterSection.

RenderFragmentnull
MaxSize

Maximum size of the section, specified as pixel value.

doubledouble.PositiveInfinity
MinSize

Minimum size of the section, specified as pixel value.

double100
Size

Initial size of a section element in percents or CSS values.

double?null
SnapOffset

Snap to minimum size offset in pixels.

double0
On this page