Editing Nodes of KetticTreeView in C#.NET
KetticTreeView WinForms control support node editing, however, this feature is disabled. To enable the node editing functionality, we shall change the value of the ApplyEditing property to be true. When we initiate the node editing feature, a text editor will be invoked to edit the node label, and then we can add text to the Text property. In addition, the developers can easily cancel the node editing through clicking the Escape. KetticTreeView control also provides two methods, StartEdit() and EndEdit(), for the users to enable and disable the editing functionality to the node selected in C# Windows Forms application.
Initiate the Editing Mode of a Node for KetticTreeView
Disable the Editing Mode of a Node for KetticTreeView
Custom Editors for Editing Node in KetticTreeView
KetticTreeView control allows the interface designers to use their own custom editors to edit the node text. This is achieved by replacing the default editor instance with a custom one in the EditorRequired event. The following example shows how to implement a custom node editor for KetticTreeView in C# Windows application.
EditingMode for Update Node in KetticTreeView
KetticTreeView control provides the EditingMode within the TreeViewElement for the users to update other node when change one of them. This property contains the values as below.
|
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 |