menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeViewCommands - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TreeViewCommands

    Provides a standard set of commands related to SfTreeView which can be used in ItemContextMenu.

    Inheritance
    System.Object
    TreeViewCommands
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.UI.Xaml.TreeView
    Assembly: Syncfusion.SfTreeView.WPF.dll
    Syntax
    public static class TreeViewCommands
    Remarks

    The TreeViewCommands class contains the commands mostly needed by developers using SfTreeView. The commands represents the instance of the System.Windows.Input.RoutedCommand and the built-in implementation logic for the commands are provided in treeview.

    Fields

    DeleteNode

    Gets the values that represents the deletenode command for SfTreeView where TreeView provides implementation logic to delete the treeview node.

    Declaration
    public static RoutedUICommand DeleteNode
    Field Value
    Type
    System.Windows.Input.RoutedUICommand

    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 RoutedUICommand DeleteSelectedNodes
    Field Value
    Type
    System.Windows.Input.RoutedUICommand

    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 RoutedUICommand Edit
    Field Value
    Type
    System.Windows.Input.RoutedUICommand
    See Also
    EditTemplate
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved