New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Popover

Class

Kendo UI Popover component

Definition

Constructors

Initializes a new instance of the Popover class.

C#
public Popover(ViewContext viewContext)
Parameters:viewContextViewContext

Properties

An array of the action buttons

C#
public List<PopoverAction> Actions { get; set; }

Defines how the actions buttons will be positioned

C#
public PopoverActionsLayout? ActionsLayout { get; set; }

Animation member.

C#
public PopupAnimation Animation { get; }

Defines a kendo template that will be used as the card body inside the popover component.

C#
public string Body { get; set; }

BodyHandler member.

C#
public ClientHandlerDescriptor BodyHandler { get; set; }

Gets or sets the Container.

C#
public string Container { get; set; }

Specifies a selector for the elements within the container which will display the Popover.

C#
public string Filter { get; set; }

Defines a kendo template that will be used as the card header inside the popover component.

C#
public string Header { get; set; }

HeaderHandler member.

C#
public ClientHandlerDescriptor HeaderHandler { get; set; }

The height (in pixels) of the Popover.

C#
public double? Height { get; set; }

Specifies the offset (in pixels) between the Popover and the anchor. The offset is rendered from the callout arrow.

C#
public double? Offset { get; set; }

The position that is relative to the target element at which the Popover will be shown.

C#
public PopoverPosition? Position { get; set; }

Defines when the Popover will be shown.

C#
public PopoverShowOn? ShowOn { get; set; }

Defines a value indicating whether the popover will show/hide only when clicking on the target element.

C#
public bool? ToggleOnClick { get; set; }

The width (in pixels) of the Popover.

C#
public double? Width { get; set; }

Methods

Serializes the component settings to a dictionary.

C#
public override IDictionary<string, object> Serialize()
Returns:

IDictionary<string, object>

A dictionary of settings.

Overrides: WidgetBase.Serialize()

SerializeSettings method.

C#
protected override Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>

Overrides: WidgetBase.SerializeSettings()

Writes the HTML.

C#
protected override void WriteHtml(TextWriter writer)
Parameters:writerTextWriter

Overrides: WidgetBase.WriteHtml(TextWriter)

Writes the initialization script.

C#
public override void WriteInitializationScript(TextWriter writer)
Parameters:writerTextWriter

The TextWriter.

Overrides: WidgetBase.WriteInitializationScript(TextWriter)