Properties
Name | Type | Default | Description |
---|---|---|---|
Behavior | |||
AlignItems |
AlignItems? |
null | Defines the alignment of children along the cross axis within a MudStack component. |
ChildContent |
RenderFragment |
null | Child content of the component. |
Justify |
Justify? |
null | Defines the distribution of children along the main axis within a MudStack component. |
Reverse |
bool |
False | Reverses the order of its items. |
Row |
bool |
False | If true, items will be placed horizontally in a row instead of vertically. |
Spacing |
int |
3 | Defines the spacing between its items. |
StretchItems |
StretchItems? |
null | Defines the stretching behaviour of children along the main axis within a MudStack component. Note: This property affects children of the MudStack component. If there is only one child, StretchItems.Start and StretchItems.End will have the same effect, and the child will be stretched. StretchItems.Middle stretches all children except the first and last child. If there are two or fewer elements, StretchItems.Middle will have no effect. |
Wrap |
Wrap? |
null | Defines the flexbox wrapping behavior of its items. |
Common | |||
Class |
string |
null | User class names, separated by space. |
Style |
string |
null | User styles, applied on top of the component's own classes and styles. |
Tag |
object |
null | Use Tag to attach any user data object to the component for your convenience. |
UserAttributes |
Dictionary<string, object> |
UserAttributes carries all attributes you add to the component that don't match any of its parameters. They will be splatted onto the underlying HTML tag. | |