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

CollectionViewModelBase<TEntity, TProjection, TPrimaryKey, TUnitOfWork>.CanDelete(TProjection) Method

Determines whether an entity can be deleted. Since CollectionViewModelBase is a POCO view model, this method will be used as a CanExecute callback for DeleteCommand.

Namespace: DevExpress.Mvvm.ViewModel

Assembly: DevExpress.Mvvm.v19.1.ViewModel.dll

Declaration

public virtual bool CanDelete(
    TProjection projectionEntity
)

Parameters

Name Type Description
projectionEntity TProjection

An entity to edit.

Returns

Type
Boolean
See Also