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 | Type | Default |
|---|---|---|---|
ChildContent |
Specifies the content to be rendered inside this Splitter. |
RenderFragment | null |
Cursor |
Cursor to display while dragging. |
string | |
Direction |
Direction to split. Possible values: |
SplitterDirection | SplitterDirection.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. |
double | 1 |
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: |
SplitterGutterAlignment | SplitterGutterAlignment.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. |
double | 10 |
SplitterSection
| Parameter | Description | Type | Default |
|---|---|---|---|
ChildContent |
Specifies the content to be rendered inside this SplitterSection. |
RenderFragment | null |
MaxSize |
Maximum size of the section, specified as pixel value. |
double | double.PositiveInfinity |
MinSize |
Minimum size of the section, specified as pixel value. |
double | 100 |
Size |
Initial size of a section element in percents or CSS values. |
double? | null |
SnapOffset |
Snap to minimum size offset in pixels. |
double | 0 |