Class TelerikPopup
Represents the Telerik UI Popup component.
Inherited Members
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class TelerikPopup : BaseComponent, IDisposable
Constructors
TelerikPopup()
Declaration
public TelerikPopup()
Properties
AnchorHorizontalAlign
In combination with AnchorVerticalAlign, this specifies the point on the anchor to which the popup element should be attached. The available X options are: Left Center Right By default the point to which the popup element is attached is the bottom-left corner of the anchor.
Declaration
public PopupAnchorHorizontalAlign AnchorHorizontalAlign { get; set; }
Property Value
PopupAnchorHorizontalAlign
|
AnchorSelector
Specifies the selector of the element that will be used as an anchor. The popup will open next to that element.
Declaration
public string AnchorSelector { get; set; }
Property Value
System.String
|
AnchorVerticalAlign
In combination with AnchorHorizontalAlign, this specifies the point on the anchor to which the popup element should be attached. The available Y options are: Bottom Center Top By default the point to which the popup element is attached is the bottom-left corner of the anchor.
Declaration
public PopupAnchorVerticalAlign AnchorVerticalAlign { get; set; }
Property Value
PopupAnchorVerticalAlign
|
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
|
ChildContent
The Popup Component content.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
Height
The height of the popup.
Declaration
public string Height { get; set; }
Property Value
System.String
|
HorizontalAlign
In combination with VerticalAlign specifies which point of the popup element to attach to the anchor's origin point. The available X options are: Left Center Right. By default, the attached point is the top-left corner of the popup element.
Declaration
public PopupHorizontalAlign HorizontalAlign { get; set; }
Property Value
PopupHorizontalAlign
|
HorizontalCollision
Specifies the behavior of the Popup when it does not fit in the viewport. Valid values are: Flip - the popup will flip if there is sufficient available space on the opposite side. Fit - the popup will be shifted (moved) until it is fully visible. By default, the Popup fits horizontally when there is a collision.
Declaration
public PopupCollision HorizontalCollision { get; set; }
Property Value
PopupCollision
|
HorizontalOffset
Specifies the horizontal offset value, in pixels, to be added to the popup position, creating a blank space between the popup and the anchor.
Declaration
public double HorizontalOffset { get; set; }
Property Value
System.Double
|
VerticalAlign
In combination with HorizontalAlign specifies which point of the popup element to attach to the anchor's origin point. The available Y options are: Bottom Center Top By default, the attached point is the top-left corner of the popup element.
Declaration
public PopupVerticalAlign VerticalAlign { get; set; }
Property Value
PopupVerticalAlign
|
VerticalCollision
Specifies the behavior of the Popup when it does not fit in the viewport. Valid values are: Flip - the popup will flip if there is sufficient available space on the opposite side. Fit - the popup will be shifted (moved) until it is fully visible. By default, the Popup flips vertically when there is a collision.
Declaration
public PopupCollision VerticalCollision { get; set; }
Property Value
PopupCollision
|
VerticalOffset
Specifies the vertical offset value, in pixels, to be added to the popup position, creating a blank space between the popup and the anchor.
Declaration
public double VerticalOffset { get; set; }
Property Value
System.Double
|
Width
The widht of the popup.
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
|
Hide()
Closes the popup.
Declaration
public void Hide()
Refresh()
Refreshes the popup element and its position.
Declaration
public void Refresh()
Show()
Opens the popup.
Declaration
public void Show()