'Declaration Protected Overridable Sub OnSelectionDragStart()
protected virtual void OnSelectionDragStart()
Imports Infragistics.Win.UltraWinTree Private Sub ultraTree1_SelectionDragStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles ultraTree1.SelectionDragStart Dim tree As Infragistics.Win.UltraWinTree.UltraTree tree = sender ' Begin a DragDrop operation tree.DoDragDrop(tree.SelectedNodes, DragDropEffects.Move) ' Note: Refer to the 'UltraTree Drag and Drop VB' sample ' to see how drag/drop can be implemented. End Sub
using System.Diagnostics; using Infragistics.Win.UltraWinTree; private void ultraTree1_SelectionDragStart(object sender, System.EventArgs e) { Infragistics.Win.UltraWinTree.UltraTree tree; tree = sender as Infragistics.Win.UltraWinTree.UltraTree; // Begin a DragDrop operation tree.DoDragDrop(tree.SelectedNodes, DragDropEffects.Move); // Note: Refer to the 'UltraTree Drag and Drop CS' sample // to see how drag/drop can be implemented. }
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2