MudElement API

Pages
Properties
Name Type Default Description
Behavior
ClickPropagation
bool
False
Misc
ChildContent
RenderFragment
null Child content
HtmlTag
string
"span" The HTML element that will be rendered in the root by the component
Ref
ElementReference?
null The ElementReference to bind to. Use like @bind-Ref="myRef"
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
RefChanged EventCallback<ElementReference>
Methods
Name Parameters Return Description
Refresh() Calling StateHasChanged to refresh the component's state

Copyright © 2020-2024 MudBlazor.

Powered by .NET 8.0.3

An unhandled error has occurred. Reload 🗙