Skip to main content

DraggableBuilder Methods

A Draggable control.
Name Description
AutoScroll(JS) Mirrors the client-side autoScroll option.
AutoScroll(Boolean) Mirrors the client-side autoScroll option.
Boundary(JS) Mirrors the client-side boundary option.
Boundary(String) Mirrors the client-side boundary option.
Clone(JS) Mirrors the client-side clone option.
Clone(Boolean) Mirrors the client-side clone option.
Container(JS) Mirrors the client-side container option.
Container(String) Mirrors the client-side container option.
Content(RazorBlock) Specifies content for a Draggable control.
Content(String) Specifies content for a Draggable control.
CursorOffset(JS) Mirrors the client-side cursorOffset option.
CursorOffset(Action<DraggableCursorOffsetBuilder>) Mirrors the client-side cursorOffset object.
CursorOffset(String) Mirrors the client-side cursorOffset option.
Data(Object) Mirrors the client-side data option.
DragDirection(DragDirection) Mirrors the client-side dragDirection option.
DragTemplate(JS) Specifies the client-side dragTemplate.
DragTemplate(RazorBlock) Specifies the client-side dragTemplate.
DragTemplate(TemplateName) Specifies the client-side dragTemplate.
DragTemplate(String) Specifies the client-side dragTemplate.
ElementAttr(JS) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(Dictionary<String, Object>) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(Object) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
ElementAttr(String, Object) Mirrors the client-side elementAttr option, specifies attributes for the control’s root HTML element.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
Group(JS) Mirrors the client-side group option.
Group(String) Mirrors the client-side group option.
Handle(JS) Mirrors the client-side handle option.
Handle(String) Mirrors the client-side handle option.
Height(JS) Mirrors the client-side height option.
Height(Double) Mirrors the client-side height option.
Height(String) Mirrors the client-side height option.
ID(JS) Specifies the id attribute for the control’s HTML element (used for nested controls within templates).
ID(String) Specifies the id attribute for the control’s HTML element.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
OnDisposing(RazorBlock) Mirrors the client-side onDisposing option.
OnDisposing(String) Mirrors the client-side onDisposing option.
OnDragEnd(RazorBlock) Mirrors the client-side onDragEnd option.
OnDragEnd(String) Mirrors the client-side onDragEnd option.
OnDragMove(RazorBlock) Mirrors the client-side onDragMove option.
OnDragMove(String) Mirrors the client-side onDragMove option.
OnDragStart(RazorBlock) Mirrors the client-side onDragStart option.
OnDragStart(String) Mirrors the client-side onDragStart option.
OnInitialized(RazorBlock) Mirrors the client-side onInitialized option.
OnInitialized(String) Mirrors the client-side onInitialized option.
OnOptionChanged(RazorBlock) Mirrors the client-side onOptionChanged option.
OnOptionChanged(String) Mirrors the client-side onOptionChanged option.
Option(String, Object) Specifies an option by its name.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Render() Inherited from WidgetBuilder.
RtlEnabled(JS) Mirrors the client-side rtlEnabled option.
RtlEnabled(Boolean) Mirrors the client-side rtlEnabled option.
ScrollSensitivity(JS) Mirrors the client-side scrollSensitivity option.
ScrollSensitivity(Double) Mirrors the client-side scrollSensitivity option.
ScrollSpeed(JS) Mirrors the client-side scrollSpeed option.
ScrollSpeed(Double) Mirrors the client-side scrollSpeed option.
ToString() Inherited from WidgetBuilder.
ToTemplate() Renders the control as a template string for use in another control’s template. Inherited from WidgetBuilder.
Width(JS) Mirrors the client-side width option.
Width(Double) Mirrors the client-side width option.
Width(String) Mirrors the client-side width option.
See Also