Skip to main content

WidgetFactory<TModel>.Draggable() Method

Creates a Draggable control.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public DraggableBuilder Draggable()

Returns

Type Description
DraggableBuilder

An instance of DraggableBuilder.

Remarks

This method creates a DraggableBuilder class instance whose members can be used to specify Draggable options.

@(Html.DevExtreme().Draggable() // create a Draggable
    // call methods to specify control options
)
See Also