DragDropEnabled Property
DragDropEnabled Property
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release. The DragDropEnabled property specifies whether or not the drag-drop functionality of the TreeView control is enabled. The default value is True.
Applies To
Syntax
Visual Basic .NET
Property DragDropEnabled As Boolean
C#
bool DragDropEnabled
Remarks
If the value is set to True, then the drag-drop functionality of the TreeView control is enabled. This is the default value.
If the value is set to False, then the drag-drop functionality of the TreeView control is disabled.
Examples
Visual Basic .NET
In the following example, the DragDropEnabled property is set to False, disabling the drag-drop functionality of the TreeView control.
myTreeViewControl.DragDropEnabled = False
C#
In the following example, the DragDropEnabled property is set to False, disabling the drag-drop functionality of the TreeView control.
myTreeViewControl.DragDropEnabled = False
Send us your feedback about the Microsoft Exchange Server 2003 SDK.
Build: June 2007 (2007.618.1)
© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.