WindowDraggableSettingsBuilder
Methods
Containment(System.String)
Sets the selector for containment element.
Parameters
selector - System.String
The selector for the containment element.
Example
@(Html.Kendo().Window()
.Name("Window")
.Draggable(d => d.Containment("#container"))
)
DragHandle(System.String)
Sets the selector for drag handle element.
Parameters
selector - System.String
The selector for the drag handle.
Example
@(Html.Kendo().Window()
.Name("Window")
.Draggable(d => d.DragHandle("#handle"))
)
Axis(System.String)
Sets the axis for window's movement. Possible values: "x", "y"
Parameters
axis - System.String
The axis.
Example
@(Html.Kendo().Window()
.Name("Window")
.Draggable(d => d.Axis("x"))
)