MudPopover API

Pages
Properties
Name Type Default Description
Behavior
ChildContent
RenderFragment
null Child content of the component.
Fixed
bool
False If true the popover will be fixed position instead of absolute.
Open
bool
False If true, the popover is visible.
Appearance
AnchorOrigin
Origin
Origin.TopLeft Set the anchor point on the element of the popover. The anchor point will determinate where the popover will be placed.
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.
Elevation
int
8 The higher the number, the heavier the drop-shadow.
MaxHeight
int?
null Sets the maxheight the popover can have when open.
OverflowBehavior
OverflowBehavior
OverflowBehavior.FilpOnOpen Set the overflow behavior of a popover and controls how the element should react if there is not enough space for the element to be visible Defaults to none, which doens't apply any overflow logic
Paper
bool
True If true, will apply default MudPaper classes.
RelativeWidth
bool
False If true, the popover will have the same width at its parent element, default to false
Square
bool
False If true, border-radius is set to 0.
TransformOrigin
Origin
Origin.TopLeft Sets the intersection point if the anchor element. At this point the popover will lay above the popover. This property in conjunction with AnchorPlacement determinate where the popover will be placed.
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.
Methods
Name Parameters Return Description
ValueTask DisposeAsync()
ValueTask
An unhandled error has occurred. Reload 🗙