Defines the fluent API for configuring ListBoxDraggableSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ListBoxDraggableSettingsBuilder
Inheritance: objectListBoxDraggableSettingsBuilder
Inherited Members
Constructors
ListBoxDraggableSettingsBuilder method.
public ListBoxDraggableSettingsBuilder(ListBoxDraggableSettings container)
Properties
Gets the settings being configured.
protected ListBoxDraggableSettings Container { get; }
Methods
Indicates whether dragging is enabled.
public ListBoxDraggableSettingsBuilder Enabled(bool value)
The value for Enabled
Returns:ListBoxDraggableSettingsBuilder
Returns the current ListBoxDraggableSettingsBuilder instance.
Provides an option to customize the draggable item hint. If a function is supplied, it receives a single argument - the jQuery object of the draggable element. If a hint is not provided, the ListBox clones the dragged item and uses it as a hint.
public ListBoxDraggableSettingsBuilder Hint(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:ListBoxDraggableSettingsBuilder
Returns the current ListBoxDraggableSettingsBuilder instance.
Provides an option to customize the draggable item hint. If a function is supplied, it receives a single argument - the jQuery object of the draggable element. If a hint is not provided, the ListBox clones the dragged item and uses it as a hint.
public ListBoxDraggableSettingsBuilder Hint(string handler)
The name of the JavaScript function that will be evaluated.
Returns:ListBoxDraggableSettingsBuilder
Returns the current ListBoxDraggableSettingsBuilder instance.
Provides an option to customize the item placeholder of the ListBox. If a function is supplied, it receives a single argument - the jQuery object of the draggable element. If a placeholder is not provided, the ListBox clones the dragged item, removes its id attribute, sets its visibility to hidden, and uses it as a placeholder.
public ListBoxDraggableSettingsBuilder Placeholder(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:ListBoxDraggableSettingsBuilder
Returns the current ListBoxDraggableSettingsBuilder instance.
Provides an option to customize the item placeholder of the ListBox. If a function is supplied, it receives a single argument - the jQuery object of the draggable element. If a placeholder is not provided, the ListBox clones the dragged item, removes its id attribute, sets its visibility to hidden, and uses it as a placeholder.
public ListBoxDraggableSettingsBuilder Placeholder(string handler)
The name of the JavaScript function that will be evaluated.
Returns:ListBoxDraggableSettingsBuilder
Returns the current ListBoxDraggableSettingsBuilder instance.