Properties
Name | Type | Default | Description |
---|---|---|---|
Behavior | |||
ChildContent |
RenderFragment |
null | |
Disabled |
bool |
False | If true, the button will be disabled. |
Expanded |
bool |
False | If true, expands the nav group, otherwise collapse it. Two-way bindable |
Icon |
string |
null | Icon to use if set. |
Title |
string |
null | |
Appearance | |||
DisableRipple |
bool |
False | If true, disables ripple effect. |
ExpandIcon |
string |
If set, overrides the default expand icon. | |
HideExpandIcon |
bool |
False | If true, hides expand-icon at the end of the NavGroup. |
IconColor |
Color |
Color.Default | The color of the icon. It supports the theme colors, default value uses the themes drawer icon color. |
MaxHeight |
int? |
null | Explicitly sets the height for the Collapse element to override the css default. |
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. | |
EventCallbacks
Name | Type | Description |
---|---|---|
ExpandedChanged |
EventCallback<bool> |