Table of Contents

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

bool

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

string

FlipMargin

Gets or sets the FlipMargin for the popover. The default value is 0.

public int FlipMargin { get; set; }

Property Value

int

Mode

Gets or sets the mode for displaying popovers. The default value is PopoverMode.Default.

public PopoverMode Mode { get; set; }

Property Value

PopoverMode

Remarks

This property determines the behavior of popovers. You can set it to either Default to use the IPopoverService or Legacy to use the old IMudPopoverService for backward compatibility.

PoolInitialFill

The number of items to fill the pool with during initialization. Defaults to 100.

NB! This setting is ignored in Default.
public int PoolInitialFill { get; set; }

Property Value

int

Remarks

For more info please visit: AsyncKeyedLocker.

PoolSize

The size of the pool to use in order for generated objects to be reused. This is NOT a concurrency limit, but if the pool is empty then a new object will be created rather than waiting for an object to return to the pool. Defaults to 3000.

NB! This setting is ignored in Default.
public int PoolSize { get; set; }

Property Value

int

Remarks

For more info please visit: AsyncKeyedLocker.

QueueDelay

Gets the delay for batch popovers detachment. The default value is 0.5 seconds.

public TimeSpan QueueDelay { get; set; }

Property Value

TimeSpan

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; }

Property Value

bool