Skip to main content
A newer version of this page is available. .

SingleObjectViewModelBase<TEntity, TPrimaryKey, TUnitOfWork>.CanReset() Method

Determines whether entity has local changes.

Namespace: DevExpress.Mvvm.ViewModel

Assembly: DevExpress.Mvvm.v20.2.ViewModel.dll

NuGet Packages: DevExpress.Scaffolding.Core, DevExpress.WindowsDesktop.Mvvm.ViewModel

Declaration

public bool CanReset()

Returns

Type
Boolean

Remarks

Since SingleObjectViewModelBase is a POCO view model, this method will be used as a CanExecute callback for ResetCommand.

See Also