skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI UI for Xamarin

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic FiddlerCap FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
  • Blazor Hybrid
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • Blazor Tutorials and Learning
    • First Stepswith Blazor Web Assembly
    • First Steps with Blazor Server
    • First Steps with Blazor Hybrid
    • Accessibility and Security
    • Submit a Ticket
    • FAQs

    Docs & Resources

    • Docs
    • Demos
    • Modernization and Migration
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs

    Productivity and Design Tools

    • REPL for Blazor
    • ThemeBuilder
    • Design System Documentation
    • Figma Kits
    • Visual Studio Extensions
    • Visual Studio Code Extensions
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class TelerikPopover

Represents the Telerik UI Popover component.

Inheritance
System.Object
BaseComponent
TelerikPopover
Inherited Members
BaseComponent.ShouldRender()
BaseComponent.OnInitializedAsync()
BaseComponent.InitLocalizer()
BaseComponent.ThrowIfParameterIsNull(Object, String)
BaseComponent.HaveOptionsChanged(IDictionary<String, Object>, IDictionary<String, Object>)
BaseComponent.GetClassString(String[])
BaseComponent.InvokeAsync<T>(String, Object[])
BaseComponent.InvokeAsync<T>(String, CancellationToken, Object[])
BaseComponent.InvokeVoidAsync(String, Object[])
BaseComponent.InvokeComponentMethodAsync<T>(String, Object[])
BaseComponent.InvokeComponentMethodAsync<T>(String, CancellationToken, Object[])
BaseComponent.InvokeVoidComponentMethodAsync(String, Object[])
BaseComponent.InvokeComponentVoidMethodAsync(String, Object)
BaseComponent.InvokeDisposeAsync()
BaseComponent.StateHasChanged()
BaseComponent.RootComponent
BaseComponent.Class
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()

Declaration
public override void Dispose()
Overrides
BaseComponent.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
BaseComponent.OnAfterRenderAsync(Boolean)

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()
Getting Started
  • Client-side Blazor
  • Server-side Blazor
  • Demos
Community
  • Forums
  • Blogs
  • Feedback Portal
Support Resources
  • Demos
  • Knowledge Base
  • Samples Repo
  • Localizations Repo
Sample Applications
  • Dashboard
  • PWA - Stocks
  • PWA - Blazing Coffee Roasters

Copyright © 2019 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.