Class TreeViewCommands
Provides a standard set of commands related to SfTreeView which can be used in ItemContextFlyout.
Inheritance
Namespace: Syncfusion.UI.Xaml.TreeView
Assembly: Syncfusion.TreeView.WinUI.dll
Syntax
public static class TreeViewCommands : Object
Remarks
The TreeViewCommands class contains the commands mostly needed by developers using SfTreeView. The commands represents the instance of the System.Windows.Input.ICommand and the built-in implementation logic for the commands are provided in treeview.
Properties
DeleteNode
Gets the values that represents the deletenode command for SfTreeView where TreeView provides implementation logic to delete the treeview node.
Declaration
public static ICommand DeleteNode { get; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
DeleteSelectedNodes
Gets the values that represents the delete command for SfTreeView where TreeView provides implementation logic to delete all the selected treeview nodes.
Declaration
public static ICommand DeleteSelectedNodes { get; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
Edit
Gets the values that represents the edit command for SfTreeView where TreeView provides implementation logic to start the editing of treeview node.
Declaration
public static ICommand Edit { get; }
Property Value
Type |
---|
System.Windows.Input.ICommand |