Blazorise Field API
Explore the Blazorise Field API reference for parameters, events, methods, and related types.
For examples and usage guidance, see the Field documentation.
API
Parameters
Field
| Parameter | Default | Type |
|---|---|---|
ChildContent | null | RenderFragment |
Specifies the content to render inside this Field. Use this property to define custom child elements or components to be displayed within the column. | ||
ColumnSize | null | IFluentColumn |
Specifies the sizing configuration for the column, supporting responsive layouts and custom size definitions. | ||
Group | false | bool |
Determines whether the field should render as a semantic group container. | ||
Horizontal | false | bool |
Determines whether the form controls should be aligned horizontally, as in a horizontal form layout. | ||
JustifyContent | Default | JustifyContent |
Specifies how the container's items are aligned along the main axis when there is extra space available. Possible values: DefaultStartEndCenterBetweenAroundThis parameter is retained for source compatibility. Use Flex instead. | ||
FieldLabel
| Parameter | Default | Type |
|---|---|---|
ChildContent | null | RenderFragment |
Specifies the content to render inside this FieldLabel. Use this property to define custom child elements or components to be displayed within the column. | ||
ColumnSize | null | IFluentColumn |
Specifies the sizing configuration for the column, supporting responsive layouts and custom size definitions. | ||
For | — | string |
Specifies the ID of an element that this label belongs to. | ||
RequiredIndicator | false | bool |
If defined, a required indicator will be shown next to the label. | ||
Screenreader | Always | Screenreader |
Specifies the visibility for screen readers. Possible values: AlwaysOnlyOnlyFocusable | ||
FieldSet
| Parameter | Default | Type |
|---|---|---|
ChildContent | null | RenderFragment |
Specifies the content to render inside this FieldSet. Use this property to define custom child elements or components to be displayed within the column. | ||
ColumnSize | null | IFluentColumn |
Specifies the sizing configuration for the column, supporting responsive layouts and custom size definitions. | ||
Horizontal | false | bool |
Determines whether the enclosed controls should be aligned horizontally. | ||
Legend
| Parameter | Default | Type |
|---|---|---|
ChildContent | null | RenderFragment |
Specifies the content to render inside this Legend. Use this property to define custom child elements or components to be displayed within the column. | ||
ColumnSize | null | IFluentColumn |
Specifies the sizing configuration for the column, supporting responsive layouts and custom size definitions. | ||
RequiredIndicator | false | bool |
If defined, a required indicator will be shown next to the legend. | ||
Screenreader | Always | Screenreader |
Makes an element hidden, but only visually, keeping it available for assistive technologies. Possible values: AlwaysOnlyOnlyFocusable | ||
Fields
| Parameter | Default | Type |
|---|---|---|
ChildContent | null | RenderFragment |
Specifies the content to render inside this Fields. Use this property to define custom child elements or components to be displayed within the column. | ||
ColumnSize | null | IFluentColumn |
Specifies the sizing configuration for the column, supporting responsive layouts and custom size definitions. | ||
Group | false | bool |
Determines whether the fields container should render as a semantic group container. | ||
Gutter | null | IFluentGutter |
Specifies the padding between your columns, used to responsively space and align content in the Blazorise grid system. | ||
Help | — | string |
Sets the field help-text positioned bellow the field. | ||
Label | — | string |
Sets the field label. | ||
FieldsLabel
| Parameter | Default | Type |
|---|---|---|
ChildContent | null | RenderFragment |
Specifies the content to render inside this FieldsLabel. Use this property to define custom child elements or components to be displayed within the column. | ||
ColumnSize | null | IFluentColumn |
Specifies the sizing configuration for the column, supporting responsive layouts and custom size definitions. | ||
RequiredIndicator | false | bool |
If defined, a required indicator will be shown next to the label. | ||
Screenreader | Always | Screenreader |
Specifies the visibility for screen readers. Possible values: AlwaysOnlyOnlyFocusable | ||