C# Class Telerik.Web.Mvc.UI.Fluent.TreeViewDragAndDropSettingsBuilder

Defines the fluent interface for configuring TreeView drag&drop.
Inheritance: IHideObjectMembers
Show file Open project: juanplopes/simple-telerik

Public Methods

Method Description
DropTargets ( string selector ) : TreeViewDragAndDropSettingsBuilder

Allows elements to be dropped on arbitrary HTML elements

Enabled ( bool value ) : TreeViewDragAndDropSettingsBuilder

Enables / disables drag&drop functionality.

TreeViewDragAndDropSettingsBuilder ( TreeViewDragAndDropSettings settings )

Initializes a new instance of the TreeViewDragAndDropSettingsBuilder class.

Method Details

DropTargets() public method

Allows elements to be dropped on arbitrary HTML elements
public DropTargets ( string selector ) : TreeViewDragAndDropSettingsBuilder
selector string jQuery selector that specifies the elements that qualify as drop targets.
return TreeViewDragAndDropSettingsBuilder

Enabled() public method

Enables / disables drag&drop functionality.
public Enabled ( bool value ) : TreeViewDragAndDropSettingsBuilder
value bool Whether to enable or to disable the drag&drop.
return TreeViewDragAndDropSettingsBuilder

TreeViewDragAndDropSettingsBuilder() public method

Initializes a new instance of the TreeViewDragAndDropSettingsBuilder class.
public TreeViewDragAndDropSettingsBuilder ( TreeViewDragAndDropSettings settings )
settings TreeViewDragAndDropSettings The settings.