Class PopoverOptions
- Namespace
- MudBlazor
- Assembly
- MudBlazor.dll
Represents the options for IPopoverService.
public class PopoverOptions
- Inheritance
-
PopoverOptions
- Inherited Members
- Extension Methods
Constructors
PopoverOptions()
public PopoverOptions()
Properties
CheckForPopoverProvider
Gets or sets a value indicating whether to check for the presence of a popover provider MudPopoverProvider.
The default value is true
.
public bool CheckForPopoverProvider { get; set; }
Property Value
ContainerClass
Gets or sets the CSS class of the popover container.
The default value is mudblazor-main-content
.
public string ContainerClass { get; set; }
Property Value
FlipMargin
Gets or sets the FlipMargin for the popover.
The default value is 0
.
public int FlipMargin { get; set; }
Property Value
Mode
Gets or sets the mode for displaying popovers.
The default value is PopoverMode.Default
.
public PopoverMode Mode { get; set; }
Property Value
OverflowPadding
Gets or sets the overflow padding for the popover. This is used when adjusting popovers that go off screen at the top or left.
It is also used to create max-height for popovers containing a list that will go off screen.
The default value is 24
rougly equal to the 8dp margin of material design.
public int OverflowPadding { get; set; }
Property Value
QueueDelay
Gets the delay for batch popovers detachment.
The default value is 0.5 seconds
.
public TimeSpan QueueDelay { get; set; }
Property Value
ThrowOnDuplicateProvider
Gets or sets a value indicating whether to throw an exception when a duplicate MudPopoverProvider is encountered.
The default value is true
.
public bool ThrowOnDuplicateProvider { get; set; }