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 | Default | Type |
|---|---|---|
ChildContent | null | RenderFragment |
Specifies the content to be rendered inside this Splitter. | ||
Cursor | — | string |
Cursor to display while dragging. | ||
Direction | Horizontal | SplitterDirection |
Direction to split. Possible values: HorizontalVertical | ||
DragInterval | 1 | double |
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. | ||
ExpandToMin | null | bool? |
When the splitter is created, if ExpandToMin is true, the minSize for each element overrides the percentage value from the sizes option. | ||
GutterAlign | Center | SplitterGutterAlignment |
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. | ||
GutterSize | 10 | double |
Gutter size in pixels. Defaults to 10. | ||
SplitterSection
| Parameter | Default | Type |
|---|---|---|
ChildContent | null | RenderFragment |
Specifies the content to be rendered inside this SplitterSection. | ||
MaxSize | double.PositiveInfinity | double |
Maximum size of the section, specified as pixel value. | ||
MinSize | 100 | double |
Minimum size of the section, specified as pixel value. | ||
Size | null | double? |
Initial size of a section element in percents or CSS values. | ||
SnapOffset | 0 | double |
Snap to minimum size offset in pixels. | ||