MudTooltip API

Pages
Properties
Name Type Default Description
Behavior
ChildContent
RenderFragment
null Child content of component.
IsVisible
bool
False The visible state of the Tooltip.
Text
string
Sets the text to be displayed inside the tooltip.
TooltipContent
RenderFragment
null Tooltip content. May contain any valid html
Appearance
Arrow
bool
False If true, a arrow will be displayed pointing towards the content from the tooltip.
Color
Color
Color.Default The color of the component. It supports the theme colors.
Delay
double
0 Sets the amount of time to wait from opening the popover before beginning to perform the transition.
Duration
double
251 Sets the length of time that the opening transition takes to complete.
Inline
bool
True Determines if this component should be inline with it's surrounding (default) or if it should behave like a block element.
Placement
Placement
Placement.Bottom Tooltip placement.
RootClass
string
null Classes applied directly to root component of the tooltip
RootStyle
string
null Styles applied directly to root component of the tooltip
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
IsVisibleChanged EventCallback<bool> An event triggered when the state of IsVisible has changed
An unhandled error has occurred. Reload 🗙