Table of Contents

Class MudPopover

Namespace
MudBlazor
Assembly
MudBlazor.dll
public class MudPopover : MudPopoverBase, IComponent, IHandleEvent, IHandleAfterRender, IMudStateHasChanged, IPopover, IAsyncDisposable
Inheritance
MudPopover
Implements
Inherited Members
Extension Methods

Constructors

MudPopover()

public MudPopover()

Properties

AnchorOrigin

Set the anchor point on the element of the popover. The anchor point will determinate where the popover will be placed.

[Parameter]
[Category("Appearance")]
public Origin AnchorOrigin { get; set; }

Property Value

Origin

Delay

Sets 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

double

Remarks

Set globally via Delay.

DropShadow

Determines whether the popover has a drop-shadow. Default is true.

[Parameter]
[Category("Appearance")]
public bool DropShadow { get; set; }

Property Value

bool

Duration

Sets the length of time that the opening transition takes to complete.

[Parameter]
[Category("Appearance")]
public double Duration { get; set; }

Property Value

double

Remarks

Set globally via Duration.

Elevation

The higher the number, the heavier the drop-shadow.

[Parameter]
[Category("Appearance")]
public int Elevation { get; set; }

Property Value

int

Fixed

If true the popover will be fixed position instead of absolute.

[Parameter]
[Category("Behavior")]
public bool Fixed { get; set; }

Property Value

bool

MaxHeight

Sets the maxheight the popover can have when open.

[Parameter]
[Category("Appearance")]
public int? MaxHeight { get; set; }

Property Value

int?

OverflowBehavior

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

[Parameter]
[Category("Appearance")]
public OverflowBehavior OverflowBehavior { get; set; }

Property Value

OverflowBehavior

Paper

If true, will apply default MudPaper classes.

[Parameter]
[Category("Appearance")]
public bool Paper { get; set; }

Property Value

bool

PopoverClass

protected override string PopoverClass { get; }

Property Value

string

PopoverStyles

protected override string PopoverStyles { get; }

Property Value

string

RelativeWidth

If true, the popover will have the same width at its parent element, default to false

[Parameter]
[Category("Appearance")]
public bool RelativeWidth { get; set; }

Property Value

bool

RightToLeft

[CascadingParameter(Name = "RightToLeft")]
public bool RightToLeft { get; set; }

Property Value

bool

Square

If true, border-radius is set to 0.

[Parameter]
[Category("Appearance")]
public bool Square { get; set; }

Property Value

bool

TransformOrigin

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.

[Parameter]
[Category("Appearance")]
public Origin TransformOrigin { get; set; }

Property Value

Origin

Methods

BuildRenderTree(RenderTreeBuilder)

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder