Table of Contents

Class MudPopoverHandler

Namespace
MudBlazor
Assembly
MudBlazor.dll
[Obsolete("Please use IPopoverService in conjunction with IMudPopoverHolder. This will be removed in v7.")]
public class MudPopoverHandler : IMudPopoverHolder
Inheritance
MudPopoverHandler
Implements
Inherited Members
Extension Methods

Constructors

MudPopoverHandler(RenderFragment, IJSRuntime, Action)

public MudPopoverHandler(RenderFragment fragment, IJSRuntime jsInterop, Action updater)

Parameters

fragment RenderFragment
jsInterop IJSRuntime
updater Action

Properties

ActivationDate

Gets the activation date of the popover.

public DateTime? ActivationDate { get; }

Property Value

DateTime?

Class

Gets the CSS class of the popover.

public string Class { get; }

Property Value

string

ElementReference

Gets or sets the element reference for the MudRender. It's used to re-render the component individually.

public MudRender ElementReference { get; set; }

Property Value

MudRender

Fragment

Content of popover.

public RenderFragment Fragment { get; }

Property Value

RenderFragment

Id

Gets the unique identifier of the popover.

public Guid Id { get; }

Property Value

Guid

IsConnected

public bool IsConnected { get; }

Property Value

bool

IsDetached

public bool IsDetached { get; }

Property Value

bool

ShowContent

Gets a value indicating whether the popover's content is visible.

public bool ShowContent { get; }

Property Value

bool

Style

Gets the inline styles of the popover.

public string Style { get; }

Property Value

string

Tag

Use Tag to attach any user data object to the component for your convenience.

public object Tag { get; }

Property Value

object

UserAttributes

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.

public Dictionary<string, object> UserAttributes { get; set; }

Property Value

Dictionary<string, object>

Methods

Detach()

public Task Detach()

Returns

Task

Initialize()

public Task Initialize()

Returns

Task

SetComponentBaseParameters(MudComponentBase, string, string, bool)

public void SetComponentBaseParameters(MudComponentBase componentBase, string @class, string style, bool showContent)

Parameters

componentBase MudComponentBase
class string
style string
showContent bool

UpdateFragment(RenderFragment, MudComponentBase, string, string, bool)

[Obsolete("Use UpdateFragmentAsync instead. This method will be removed in v7.")]
public void UpdateFragment(RenderFragment fragment, MudComponentBase componentBase, string @class, string style, bool showContent)

Parameters

fragment RenderFragment
componentBase MudComponentBase
class string
style string
showContent bool

UpdateFragmentAsync(RenderFragment, MudComponentBase, string, string, bool)

public Task UpdateFragmentAsync(RenderFragment fragment, MudComponentBase componentBase, string @class, string style, bool showContent)

Parameters

fragment RenderFragment
componentBase MudComponentBase
class string
style string
showContent bool

Returns

Task