Class MudPopoverBase
- Namespace
- MudBlazor
- Assembly
- MudBlazor.dll
Base class for implementing Popover component.
public abstract class MudPopoverBase : MudComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IMudStateHasChanged, IPopover, IAsyncDisposable
- Inheritance
-
MudPopoverBase
- Implements
- Derived
- Inherited Members
- Extension Methods
Remarks
This class provides a base implementation for a Popover component. It implements the IPopover interface and utilizes the IPopoverService to handle the creation, updating, and destruction of the popover.
Constructors
MudPopoverBase()
protected MudPopoverBase()
Properties
ChildContent
[Parameter]
[Category("Behavior")]
public RenderFragment? ChildContent { get; set; }
Property Value
Id
public virtual Guid Id { get; }
Property Value
Open
[Parameter]
[Category("Behavior")]
public bool Open { get; set; }
Property Value
PopoverClass
protected abstract string PopoverClass { get; }
Property Value
PopoverService
[Inject]
protected IPopoverService PopoverService { get; set; }
Property Value
PopoverStyles
protected abstract string PopoverStyles { get; }
Property Value
Service
[Inject]
[Obsolete("Replaced by PopoverService. Will be removed in v7.")]
public IMudPopoverService Service { get; set; }
Property Value
Methods
DisposeAsync()
public virtual ValueTask DisposeAsync()
Returns
OnAfterRenderAsync(bool)
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
firstRender
bool
Returns
OnInitializedAsync()
protected override Task OnInitializedAsync()
Returns
OnParametersSetAsync()
protected override Task OnParametersSetAsync()