Defines the fluent API for configuring WindowDraggableSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class WindowDraggableSettingsBuilder
Inheritance: objectWindowDraggableSettingsBuilder
Inherited Members
Constructors
WindowDraggableSettingsBuilder method.
public WindowDraggableSettingsBuilder(WindowDraggableSettings container)
Properties
Gets the settings being configured.
protected WindowDraggableSettings Container { get; }
Methods
Constrains the dragging to horizontal (x) or vertical (y) axis. Accepts two possible values: "x", "y".
public WindowDraggableSettingsBuilder Axis(string value)
The value for Axis
Returns:Defines the selector of an element in which the window will be able to move. The element must have sufficient dimensions to contain the window. Accepts either selector or an element.
public WindowDraggableSettingsBuilder Containment(string value)
The value for Containment
Returns:Restricts dragging of the window from the specified element. It should be part of the window element. This configuration setting accepts either selector or element.
public WindowDraggableSettingsBuilder DragHandle(string value)
The value for DragHandle
Returns: