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
RenderFragmentjsInterop
IJSRuntimeupdater
Action
Properties
ActivationDate
Gets the activation date of the popover.
public DateTime? ActivationDate { get; }
Property Value
Class
Gets the CSS class of the popover.
public string Class { get; }
Property Value
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
Fragment
Content of popover.
public RenderFragment Fragment { get; }
Property Value
Id
Gets the unique identifier of the popover.
public Guid Id { get; }
Property Value
IsConnected
public bool IsConnected { get; }
Property Value
IsDetached
public bool IsDetached { get; }
Property Value
ShowContent
Gets a value indicating whether the popover's content is visible.
public bool ShowContent { get; }
Property Value
Style
Gets the inline styles of the popover.
public string Style { get; }
Property Value
Tag
Use Tag to attach any user data object to the component for your convenience.
public object Tag { get; }
Property Value
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
Methods
Detach()
public Task Detach()
Returns
Initialize()
public Task Initialize()
Returns
SetComponentBaseParameters(MudComponentBase, string, string, bool)
public void SetComponentBaseParameters(MudComponentBase componentBase, string @class, string style, bool showContent)
Parameters
componentBase
MudComponentBaseclass
stringstyle
stringshowContent
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
RenderFragmentcomponentBase
MudComponentBaseclass
stringstyle
stringshowContent
bool
UpdateFragmentAsync(RenderFragment, MudComponentBase, string, string, bool)
public Task UpdateFragmentAsync(RenderFragment fragment, MudComponentBase componentBase, string @class, string style, bool showContent)
Parameters
fragment
RenderFragmentcomponentBase
MudComponentBaseclass
stringstyle
stringshowContent
bool