AppendTo(string selector)

Sets the jQuery selector that selects the element where the helper that moves with the mouse is being appended to during the drag.

Parameters

selector The jQuery selector.

Axis(JQueryUIHelpers.Axis axis)

Sets the axis where the items can be dragged.

Parameters

axis The axis.

Cancel(string selector)

Sets the jQuery selector that selects the elements which prevent sorting if the user starts on them.

Parameters

selector The jQuery selector.

ConnectWith(string selector)

Sets the jQuery selector that selects other sortables which can receive items from this sortable.

Parameters

selector The jQuery selector.

Containment(string selector)

Sets the jQuery selector that selects the element that constrains dragging. The specified element must have a calculated width and height.

Parameters

selector The jQuery selector.

Containment(JQueryUIHelpers.Containment containment)

Sets the element that constrains dragging. The specified element must have a calculated width and height.

Parameters

containment The element.

Cursor(JQueryUIHelpers.Cursor cursor)

Sets the cursor that is being shown while sorting.

Parameters

cursor The cursor.

CursorAt(JQueryUIHelpers.CursorPosition position)

Sets the cursor position relative to the element being dragged.

Parameters

position The position.

Delay(uint duration)

Sets the tolerance for when sorting should start. Sorting will not start until after the mouse is moved beyond the specified duration.

Parameters

duration The duration in milliseconds.

Disabled(bool disabled)

Sets a value indicating whether the sortable is disabled.

Parameters

disabled If true, the sortable is disabled.

Distance(uint distance)

Sets the tolerance for when sorting should start. Sorting will not start until after the mouse is moved beyond the specified distance.

Parameters

distance The distance in pixels.

DropOnEmpty(bool dropOnEmpty)

Sets a value indicating whether items form this sortable can be dropped to an empty sortable.

Parameters

dropOnEmpty If true, items can be dropped to an empty sortable.

ForceHelperSize(bool forceHelperSize)

Sets a value indicating whether the helper is forced to have a size.

Parameters

forceHelperSize If true, the helper is forced to have a size.

ForcePlaceholderSize(bool forcePlaceholderSize)

Sets a value indicating whether the placeholder is forced to have a size.

Parameters

forcePlaceholderSize If true, the placeholder is forced to have a size.

Grid(uint x, uint y)

Snaps the helper to a grid specified by the x and y values.

Parameters

x The x value.
y The y value.

Handle(string selector)

Sets the jQuery selector that selects the elements which can start sorting.

Parameters

selector The jQuery selector.

Helper(string functionName)

Sets the name of the JavaScript function that returns the helper element.

Parameters

functionName The name of the function.

Helper(JQueryUIHelpers.DragHelper helper)

Sets the helper element.

Parameters

helper The helper element.

Helper(JQueryUIHelpers.SortableHelper helper)

Sets the helper element.

Parameters

helper The helper element.

Items(string selector)

Sets the jQuery selector that selects the sortable elements inside this sortable.

Parameters

selector The jQuery selector.

Opacity(System.Double opacity)

Sets the opacity of the helper element.

Parameters

opacity The opacity from 0.01 to 1.

Placeholder(string cssClassName)

Sets the CSS class that is added to the placeholder element.

Parameters

cssClassName The CSS class.

Revert(bool revert)

Sets a value indicating whether the item is moved to its new position with an animation.

Parameters

revert If true, the item is moved to its new position with an animation.

Revert(uint duration)

Enables animation with the specified duration. The item will be moved to its new position with an animation.

Parameters

duration The duration in milliseconds.

Scroll(bool scroll)

Sets a value indicating whether the page is scrolled when an item is moved to the edge.

Parameters

scroll If true, the page is scrolled when an item is moved to the edge.

ScrollSensitivity(uint sensitivity)

Defines how near the mouse must be to an edge to start scrolling.

Parameters

sensitivity The sensitivity in pixels.

ScrollSpeed(uint speed)

Sets the scroll speed.

Parameters

speed The speed.

Tolerance(JQueryUIHelpers.SortableTolerance tolerance)

Sets the way the reordering behaves during drag.

Parameters

tolerance The tolerance.

ZIndex(int zIndex)

Sets the z-index of the helper element.

Parameters

zIndex The z-index.

Name(string name)

Sets the form field name.

Parameters

name The name.

OnActivate(string functionName)

Sets the name of the JavaScript function that is triggered on drag start when using connected lists.

Parameters

functionName The name of the function.

OnBeforeStop(string functionName)

Sets the name of the JavaScript function that is triggered when the sorting stops.

Parameters

functionName The name of the function.

OnChange(string functionName)

Sets the name of the JavaScript function that is triggered during sorting when the DOM position has changed.

Parameters

functionName The name of the function.

OnCreate(string functionName)

Sets the name of the JavaScript function that is triggered when the sortable is created.

Parameters

functionName The name of the function.

OnDeactivate(string functionName)

Sets the name of the JavaScript function that is triggered when sorting was stopped. The event is propagated to all possible connected lists.

Parameters

functionName The name of the function.

OnOut(string functionName)

Sets the name of the JavaScript function that is triggered when a sortable item is moved away from a connected list.

Parameters

functionName The name of the function.

OnOver(string functionName)

Sets the name of the JavaScript function that is triggered when a sortable item is moved into a connected list.

Parameters

functionName The name of the function.

OnReceive(string functionName)

Sets the name of the JavaScript function that is triggered when a connected sortable list has received an item from another list.

Parameters

functionName The name of the function.

OnRemove(string functionName)

Sets the name of the JavaScript function that is triggered when a sortable item has been dragged out from the list and into another.

Parameters

functionName The name of the function.

OnSort(string functionName)

Sets the name of the JavaScript function that is triggered during sorting.

Parameters

functionName The name of the function.

OnStart(string functionName)

Sets the name of the JavaScript function that is triggered when sorting starts.

Parameters

functionName The name of the function.

OnStop(string functionName)

Sets the name of the JavaScript function that is triggered when sorting has stopped.

Parameters

functionName The name of the function.

OnUpdate(string functionName)

Sets the name of the JavaScript function that is triggered when the user stopped sorting and the DOM position has changed.

Parameters

functionName The name of the function.