Edit this page

Kendo.Mvc.UI.Fluent.ListBoxDraggableSettingsBuilder

Defines the fluent API for configuring the ListBoxDraggableSettings settings.

Methods

Placeholder(System.String)

Provides a way for customization of the ListBox item placeholder. If a function is supplied, it receives one argument - the draggable element's jQuery object. If placeholder function is not provided the widget will clone dragged item, remove its ID attribute, set its visibility to hidden and use it as a placeholder.

Parameters

handler System.String

The name of the JavaScript function that will be evaluated.

Placeholder(System.Func<System.Object,System.Object>)

Provides a way for customization of the ListBox item placeholder. If a function is supplied, it receives one argument - the draggable element's jQuery object. If placeholder function is not provided the widget will clone dragged item, remove its ID attribute, set its visibility to hidden and use it as a placeholder.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Enabled(System.Boolean)

Indicates whether dragging is enabled.

Parameters

value System.Boolean

The value that configures the enabled.

Hint(System.String)

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.

Parameters

value System.String

The value that configures the hint.