Class MudTooltip
- Namespace
- MudBlazor
- Assembly
- MudBlazor.dll
public class MudTooltip : MudComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IMudStateHasChanged
- Inheritance
-
MudTooltip
- Implements
- Inherited Members
- Extension Methods
Constructors
MudTooltip()
public MudTooltip()
Properties
Arrow
If true, an arrow will be displayed pointing towards the content from the tooltip.
[Parameter]
[Category("Appearance")]
public bool Arrow { get; set; }
Property Value
ChildContent
Child content of component.
[Parameter]
[Category("Behavior")]
public RenderFragment? ChildContent { get; set; }
Property Value
Classname
protected string Classname { get; }
Property Value
Color
The color of the component. It supports the theme colors.
[Parameter]
[Category("Appearance")]
public Color Color { get; set; }
Property Value
ContainerClass
protected string ContainerClass { get; }
Property Value
Delay
The amount of time in milliseconds to wait from opening the popover before beginning to perform the transition.
[Parameter]
[Category("Appearance")]
public double Delay { get; set; }
Property Value
Remarks
Defaults to 0ms in Delay.
Disabled
If true, the tooltip will be disabled; the popover will not be visible.
[Parameter]
[Category("Behavior")]
public bool Disabled { get; set; }
Property Value
Duration
The length of time that the opening transition takes to complete.
[Parameter]
[Category("Appearance")]
public double Duration { get; set; }
Property Value
Remarks
Defaults to 251ms in Duration.
Inline
Determines if this component should be inline with it's surrounding (default) or if it should behave like a block element.
[Parameter]
[Category("Appearance")]
public bool Inline { get; set; }
Property Value
Placement
Tooltip placement.
[Parameter]
[Category("Appearance")]
public Placement Placement { get; set; }
Property Value
RightToLeft
[CascadingParameter(Name = "RightToLeft")]
public bool RightToLeft { get; set; }
Property Value
RootClass
Classes applied directly to root component of the tooltip
[Parameter]
[Category("Appearance")]
public string? RootClass { get; set; }
Property Value
RootStyle
Styles applied directly to root component of the tooltip
[Parameter]
[Category("Appearance")]
public string? RootStyle { get; set; }
Property Value
ShowOnClick
[Parameter]
[Category("Appearance")]
public bool ShowOnClick { get; set; }
Property Value
ShowOnFocus
Determines on which events the tooltip will act
[Parameter]
[Category("Appearance")]
public bool ShowOnFocus { get; set; }
Property Value
ShowOnHover
Determines on which events the tooltip will act
[Parameter]
[Category("Appearance")]
public bool ShowOnHover { get; set; }
Property Value
Text
Sets the text to be displayed inside the tooltip.
[Parameter]
[Category("Behavior")]
public string? Text { get; set; }
Property Value
TooltipContent
Tooltip content. May contain any valid html
[Parameter]
[Category("Behavior")]
public RenderFragment? TooltipContent { get; set; }
Property Value
Visible
The visible state of the Tooltip.
[Parameter]
[Category("Behavior")]
public bool Visible { get; set; }
Property Value
VisibleChanged
An event triggered when the state of Visible has changed
[Parameter]
[Category("Behavior")]
public EventCallback<bool> VisibleChanged { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder