PopoverBuilder
Defines the fluent API for configuring the Telerik UI PopOver for ASP.NET MVC.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class PopoverBuilder : WidgetBuilderBase<Popover, PopoverBuilder>, IHtmlString
Inheritance: objectWidgetBuilderBase<Popover, PopoverBuilder>PopoverBuilder
Implements:
Inherited Members
Constructors
Methods
Configures the action that defines the PopOver actions and their settings.
public PopoverBuilder Actions(Action<PopoverActionFactory> configurator)
The action that configures the actions.
Returns:Defines how the actions buttons will be positioned.
public PopoverBuilder ActionsLayout(PopoverActionLayout value)
The value that configures the position.
Returns:Configures the animation effects of the PopOver.
public PopoverBuilder Animation(Action<PopupAnimationBuilder> animationAction)
The action that configures the animation settings.
Returns:Toggles the animation effects of the PopOver.
public PopoverBuilder Animation(bool enable)
The boolean that toggles the animations.
Returns:Defines the template that renders the card body inside the PopOver component.
public PopoverBuilder Body(string value)
The value that configures the template content.
Returns:Defines the template that renders the card body inside the Popover component.
public PopoverBuilder Body<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the template.
Returns:Defines a JavaScript function that returns the card body inside the Popover component.
public PopoverBuilder BodyHandler(string handler)
The name of the JavaScript function.
Returns:Configures the handled client-side events of the PopOver.
public PopoverBuilder Events(Action<PopoverEventBuilder> configurator)
The action that configures the available events.
Returns:Specifies the selector for the elements within the container that displays the PopOver.
public virtual PopoverBuilder Filter(string selector)
The jQuery selector.
Returns:Defines the selector that matches the DOM element to which the PopOver will be initialized.
Defines a template that renders the card header inside the PopOver component.
public PopoverBuilder Header(string value)
The value that configures the header.
Returns:Defines the height (in pixels) of the PopOver.
public PopoverBuilder Height(double value)
The value that configures the height.
Returns:Specifies the offset (in pixels) between the PopOver and the anchor. The offset is rendered from the callout arrow.
public PopoverBuilder Offset(double value)
The value that configures the offset.
Returns:Defines the position that is relative to the target element at which the PopOver will be shown.
public PopoverBuilder Position(PopoverPosition value)
The value that configures the position.
Returns:Defines the event when the PopOver will be shown.
public PopoverBuilder ShowOn(PopoverShowOn value)
The value that configures the event.
Returns:Defines a value indicating whether the PopOver will show/hide only when clicking on the target element.
public PopoverBuilder ToggleOnClick(bool value)
The boolean value that toggles the functionality.
Returns:Defines the width (in pixels) of the PopOver.
public PopoverBuilder Width(double value)
The value that configures the width.
Returns: