KetticTreeView Drag and Drop Support in C#.NET
KetticTreeView control support drag and drop functionality, so that it expands the Windows Forms application capabilities. For example, developers can easily drag and drop nodes within the TreeView control or among a few TreeView controls, locate the node place, drag and drop nodes in other elements, scroll up and down a dragging node automatically, expand a dragging node automatically, and fine-tune specific nodes when dragging and dropping.
Events for Building Drag and Drop of KetticTreeView
KetticTreeView control for Windows Forms contains two properties, EnableDragDrop and Enable Drop, for the TreeView UI designers to apply the drag and drop feature to their Windows applications.
Enable Drag and Drop for KetticTreeView Control
To enable the drag and drop functionality for KetticTreeView, we can simply change the value of the EnableDragDrop property to be true. This functionality also supports drag and drop both the parent node and child node that are selected to the desired position. Enable the Drop functionality to Make KetticTreeView Accept Data
To enable the drop functionality, we can set the EnableDrop event to be true. This event is able to make the KetticTreeView accept data that are dropped on it and allows the developers to interact with the standard WinForms controls. The following example demonstrates how to implement the drop functionality.
|
UI Controlsfor Windows Forms .NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI DesignWinForms UI Controls WinForms Buttons UI Control WinForms Calendar UI ControlWinForms Carousel UI ControlWinForms Chart UI ControlWinForms Clock UI ControlCommandBar UI ControlWinForms Dock UI ControlDesktop Alert UI ControlDropDown List UI ControlWinForms Editor UI ControlForms and Dialogs UI ControlWinForms GridView UI ControlWinForms ListView UI ControlWinForms Menu UI ControlWinForms ComboBox UI ControlWinForms PageView UI ControlPanels and Labels UI ControlWinForms Panorama UI ControlWinForms PDFViewer UI ControlWinForms Property Grid UI ControlWinForms Ribbon UI ControlWinForms PivotGrid UI ControlWinForms RichTextBox UI ControlWinForms Rotator UI ControlWinForms Scheduler UI ControlWinForms Shortcuts UI ControlWinForms SpellChecker UI ControlWinForms Track & Status UI ControlWinForms TreeView UI ControlKeyboard SupportDesign Time SupportBuild PropertyContext MenuTreeView - NodeAdd & Remove NodesReorder NodesFormat NodesEdit NodesSelect NodesFilter NodesCustom Filter NodesSort NodesCustom Sort NodesFind Sort NodesData BindingBasicsDatabaseXML DataDrag and DropCustomizationContext MenuCustomizationAssign ScreenTipLocalizationWinForms Wizard UI ControlWinForms Test UI ControlWinForms Theme UI Control |