Properties
Name | Type | Default | Description |
---|---|---|---|
Behavior | |||
BadgeData |
object |
null | Optional information to be showed into a badge |
BadgeDot |
bool |
False | Optional information to show the badge as a dot. |
ChildContent |
RenderFragment |
null | Child content of component. |
Disabled |
bool |
False | If true, the tabpanel will be disabled. |
Icon |
string |
null | Icon placed before the text if set. |
ID |
object |
null | Unique TabPanel ID. Useful for activation when Panels are dynamically generated. |
ShowCloseIcon |
bool |
True | MudDynamicTabs: If true, shows the close icon in the TabPanel. |
TabContent |
RenderFragment |
null | Tab content of component. |
TabWrapperContent |
RenderFragment<RenderFragment> |
null | Tab content wrapper of component. It is used to wrap the content of a tab heading in a user supplied div or component. Use @context in the TabWrapperContent to render the tab header within your custom wrapper. This is most useful with tooltips, which must wrap the entire content they refer to. |
Text |
string |
null | Text will be displayed in the TabPanel as TabTitle. Text is no longer rendered as a MarkupString, so use the TabContent RenderFragment instead for HTML content. |
ToolTip |
string |
null | TabPanel Tooltip. It will be ignored if TabContent is provided. |
Appearance | |||
BadgeColor |
Color |
Color.Primary | The color of the badge. |
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 |
---|---|---|
OnClick |
EventCallback<MouseEventArgs> | Raised when tab is clicked |
Methods
Name | Parameters | Return | Description |
---|---|---|---|
ValueTask DisposeAsync() |
ValueTask |