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

ParameterDefaultType
ChildContentnullRenderFragment

Specifies the content to be rendered inside this Splitter.
Cursor—string

Cursor to display while dragging.
DirectionHorizontalSplitterDirection

Direction to split.
Possible values:HorizontalVertical
DragInterval1double

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.
ExpandToMinnullbool?

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

Determines how the gutter aligns between the two elements.
Possible values:StartCenterEnd
GutterBackgroundImage—string

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.

GutterSize10double

Gutter size in pixels. Defaults to 10.

SplitterSection

ParameterDefaultType
ChildContentnullRenderFragment

Specifies the content to be rendered inside this SplitterSection.
MaxSizedouble.PositiveInfinitydouble

Maximum size of the section, specified as pixel value.
MinSize100double

Minimum size of the section, specified as pixel value.
Sizenulldouble?

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

Snap to minimum size offset in pixels.
On this page