ListBoxDraggableSettingsBuilder
Methods
Enabled(System.Boolean)
Indicates whether dragging is enabled.
Parameters
value - System.Boolean
The value for 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
handler - System.String
The name of the JavaScript function that will be evaluated.
Hint(System.Func)
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
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Placeholder(System.String)
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.
Parameters
handler - System.String
The name of the JavaScript function that will be evaluated.
Placeholder(System.Func)
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.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.