Skip to main content

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

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

Namespace: DevExpress.Mvvm.ViewModel

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

NuGet Package: DevExpress.Scaffolding.Core

Declaration

public virtual bool CanEdit(
    TProjection projectionEntity
)

Parameters

Name Type Description
projectionEntity TProjection

An entity to edit.

Returns

Type
Boolean
See Also