Reordering Nodes of KetticTreeView in C#.NET
KetticTreeView control for WinForms is capable of reordering nodes at runtime. The tree view interface designers can easily drag and drop to reorder the nodes. However, the developer cannot manipulate the node directly and the users of their application can reorder directly. Additionally, the developers can also customize the KetticTreeView nodes reordering in C# code for .NET application.
C# Reordering Nodes of KetticTreeView
KetticTreeView provides the Insert() method and Add() method within the Nodes collection for developers to reorder node in C#. The C# code below shows how to reorder nodes by using the Add() method.
Moreover, the Insert() method within the Nodes collection can move a node into a collection of multiple nodes and reset the position of a node. It uses the parameters as the index to place the node and a reference to insert the node. The following C# code demonstrates how to change the position of a node using the Insert() method.
|
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 |