Skip to main content
All docs
V24.1

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.v24.1.dll

NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation

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