Class TelerikPopover
Represents the Telerik UI Popover component.
Inherited Members
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class TelerikPopover : BaseComponent, IDisposable
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
public PopoverActionsLayoutAlign ActionsLayout { get; set; }
Property Value
PopoverActionsLayoutAlign
|
AnchorSelector
Specifies the selector of the element that will be used as an anchor. The popover will open next to that element.
Declaration
public string AnchorSelector { get; set; }
Property Value
System.String
|
AnimationDuration
The duration of the open/close animation in milliseconds.
Declaration
public int AnimationDuration { get; set; }
Property Value
System.Int32
|
AnimationType
The effect to use for playing the open/close animation.
Declaration
public AnimationType AnimationType { get; set; }
Property Value
AnimationType
|
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
public PopoverCollision Collision { get; set; }
Property Value
PopoverCollision
|
Height
The height of the popover.
Declaration
public string Height { get; set; }
Property Value
System.String
|
Offset
Specifies the offset value, in pixels, to be added to the popover position, creating a blank space between the popover and the anchor.
Declaration
public double Offset { get; set; }
Property Value
System.Double
|
PopoverActions
Container tag for the popover action buttons.
Declaration
public RenderFragment PopoverActions { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
PopoverContent
The body content of the popover.
Declaration
public RenderFragment PopoverContent { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
PopoverHeader
The header content of the popover.
Declaration
public RenderFragment PopoverHeader { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
Position
The position that is relative to the target element at which the Popover will be shown. The supported values are: Top Bottom Left Right The default value is Top.
Declaration
public PopoverPosition Position { get; set; }
Property Value
PopoverPosition
|
ShowCallout
Defines whether the Popover callout will be displayed.
Declaration
public bool ShowCallout { get; set; }
Property Value
System.Boolean
|
ShowOn
Define the event that triggers the opening of the popover. The supported values are: Click MouseEnter 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
public Nullable<PopoverShowOn> ShowOn { get; set; }
Property Value
System.Nullable<PopoverShowOn>
|
Width
The widht of the popover.
Declaration
public string Width { get; set; }
Property Value
System.String
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
Dispose()
Hide()
Closes the popup.
Declaration
public void Hide()
OnAfterRenderAsync(Boolean)
Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
System.Boolean
firstRender
|
Returns
System.Threading.Tasks.Task
|
Overrides
Refresh()
Refreshes the popup element and its position.
Declaration
public void Refresh()
SetParametersAsync(ParameterView)
Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
Microsoft.AspNetCore.Components.ParameterView
parameters
|
Returns
System.Threading.Tasks.Task
|
Show()
Opens the popup.
Declaration
public void Show()