Skip to main content
A newer version of this page is available. .
All docs
V22.2

CreateEditItemViewModelArgs.IsNewItem Property

Gets whether a user invokes the dialog edit form to add a new item to the GridControl.

Namespace: DevExpress.Mvvm.Xpf

Assembly: DevExpress.Mvvm.v22.2.dll

NuGet Package: DevExpress.Mvvm

Declaration

public bool IsNewItem { get; }

Property Value

Type Description
Boolean

true if a user invokes the dialog edit form to add a new item to the GridControl; false if a user invokes the dialog edit form to update an existing item.

The following code snippets (auto-collected from DevExpress Examples) contain references to the IsNewItem property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also