ClassTelerikPopover
Represents the Telerik UI Popover component.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class TelerikPopover : BaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentTelerikPopover
Implements:
Inherited Members
Constructors
TelerikPopover()
Declaration
public TelerikPopover()
Properties
ActionsLayout
Defines the layout of the actions button in the footer. Default value is Stretch. The possible options are Stretch, Start, End, Center.
Declaration
[Parameter]
public PopoverActionsLayoutAlign ActionsLayout { get; set; }
Property Value
AnchorSelector
Specifies the selector of the element that will be used as an anchor. The popover will open next to that element.
Declaration
[Parameter]
public string AnchorSelector { get; set; }
Property Value
AnimationDuration
The duration of the open/close animation in milliseconds.
Declaration
[Parameter]
public int AnimationDuration { get; set; }
Property Value
AnimationType
The effect to use for playing the open/close animation.
Declaration
[Parameter]
public AnimationType AnimationType { get; set; }
Property Value
Collision
Specifies the behavior of the Popover when it does not fit in the viewport. Valid values are: Flip - the popover will flip if there is sufficient available space on the opposite side. Fit - the popover will be shifted (moved) until it is fully visible. By default, the Popover flips vertically when there is a collision.
Declaration
[Parameter]
public PopoverCollision Collision { get; set; }
Property Value
Height
The height of the popover.
Offset
Specifies the offset value, in pixels, to be added to the popover position, creating a blank space between the popover and the anchor.
PopoverActions
Container tag for the popover action buttons.
Declaration
[Parameter]
public RenderFragment PopoverActions { get; set; }
Property Value
PopoverContent
The body content of the popover.
Declaration
[Parameter]
public RenderFragment PopoverContent { get; set; }
Property Value
PopoverHeader
The header content of the popover.
Declaration
[Parameter]
public RenderFragment PopoverHeader { get; set; }
Property Value
Position
The position that is relative to the target element at which the Popover will be shown. The supported values are: TopBottomLeftRight The default value is Top.
Declaration
[Parameter]
public PopoverPosition Position { get; set; }
Property Value
ShowCallout
Defines whether the Popover callout will be displayed.
ShowOn
Define the event that triggers the opening of the popover. The supported values are: ClickMouseEnter If the value is set to Click the popover will close when the user clicks outside the popover. If the value is set to MouseEnter the popover will close when the pointer leaves the popover.
Declaration
[Parameter]
public PopoverShowOn? ShowOn { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
Dispose()
Declaration
public override void Dispose()
Overrides
Refresh()
Refreshes the popup element and its position.
Declaration
public void Refresh()
SetParametersAsync(ParameterView)
Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
parameters
Returns
Overrides