All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
The page you are viewing does not exist in version 20.2. This link will take you to the root page.
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

TreeListView.NodeUpdatedCommand Property

Gets or sets a command executed when the GridControl updates the data source with the changes made within the focused node.

Namespace: DevExpress.Xpf.Grid

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

Declaration

public ICommand<NodeUpdatedArgs> NodeUpdatedCommand { get; set; }

Property Value

Type Description
DevExpress.Mvvm.ICommand<NodeUpdatedArgs>

A command executed when the GridControl updates the data source with the changes made within the focused node.

Remarks

Bind a command to the NodeUpdatedCommand property to maintain a clean MVVM pattern. The command works like a NodeUpdated event handler and allows you to process the node update operation in a View Model.

The GridControl validates changes made within the focused node when you try to move focus to another node. You can also invoke the CommitEditing method to validate changes. If all new values are valid, the GridControl updates the data source and calls the bound command.

Refer to the following topic if you want to update a row asynchronously: ResultAsync.

See Also