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

Defines the fluent API for adding items to Kendo Popover for ASP.NET MVC

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class PopoverActionFactory

Inheritance: objectPopoverActionFactory

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the PopoverActionFactory class.

C#
public PopoverActionFactory(List<PopoverAction> container)
Parameters:containerList<PopoverAction>

The container.

Methods

Adds an item to the collection

C#
public virtual PopoverActionBuilder Add()
Returns:

PopoverActionBuilder

Returns a PopoverActionBuilder with the available configuration options.

Example:
C#
@(Html.Kendo().Popover()
.For("#calendar")
.Filter("td a")
.Position(PopoverPosition.Right)
.ShowOn(PopoverShowOn.Click)
.Actions(action =&gt; action.Add())
)