Skip to main content
All docs
V25.1
  • TreeListView.NodeChangedCommand Property

    Gets or sets a command that is executed when a node’s property changes.

    Namespace: DevExpress.Xpf.Grid

    Assembly: DevExpress.Xpf.Grid.v25.1.dll

    NuGet Package: DevExpress.Wpf.Grid.Core

    Declaration

    public ICommand<NodeChangedArgs> NodeChangedCommand { get; set; }

    Property Value

    Type Description
    ICommand<NodeChangedArgs>

    A command that is executed when a node’s property changes.

    Remarks

    Bind a command to the NodeChangedCommand property to maintain a clean MVVM pattern. The command works like a NodeChanged event handler and allows you to process node property changes in a View Model.

    The GridControl executes a command bound to the NodeChangedCommand property each time a node property changes. Use the NodeChangedArgs.ChangeType property to identify node changes. The NodeChangedArgs.Item property returns the processed data source record.

    See Also