Popover
Kendo UI Popover component
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class Popover : WidgetBase, IHtmlAttributesContainer
Inheritance: objectWidgetBasePopover
Implements:
Inherited Members
Constructors
Initializes a new instance of the Popover class.
Properties
An array of the action buttons
public List<PopoverAction> Actions { get; set; }
Defines how the actions buttons will be positioned
public PopoverActionsLayout? ActionsLayout { get; set; }
Animation member.
public PopupAnimation Animation { get; }
Defines a kendo template that will be used as the card body inside the popover component.
public string Body { get; set; }
BodyHandler member.
public ClientHandlerDescriptor BodyHandler { get; set; }
Specifies a selector for the elements within the container which will display the Popover.
public string Filter { get; set; }
Defines a kendo template that will be used as the card header inside the popover component.
public string Header { get; set; }
HeaderHandler member.
public ClientHandlerDescriptor HeaderHandler { get; set; }
Specifies the offset (in pixels) between the Popover and the anchor. The offset is rendered from the callout arrow.
public double? Offset { get; set; }
The position that is relative to the target element at which the Popover will be shown.
public PopoverPosition? Position { get; set; }
Defines when the Popover will be shown.
public PopoverShowOn? ShowOn { get; set; }
Defines a value indicating whether the popover will show/hide only when clicking on the target element.
public bool? ToggleOnClick { get; set; }
Methods
Serializes the component settings to a dictionary.
public override IDictionary<string, object> Serialize()
A dictionary of settings.
Overrides:
SerializeSettings method.
protected override Dictionary<string, object> SerializeSettings()
Overrides:
Writes the HTML.
Writes the initialization script.
public override void WriteInitializationScript(TextWriter writer)
The TextWriter.
Overrides: