Skip to main content
ON

DetailFormViewModel.CanEdit(Nullable<Boolean>) Method

Checks whether the Edit operation is available.

Namespace: DevExpress.Maui.Core

Assembly: DevExpress.Maui.Mvvm.dll

NuGet Package: DevExpress.Maui.Mvvm

Declaration

public virtual bool CanEdit(
    bool? animate = false
)

Optional Parameters

Name Type Default Description
animate Nullable<Boolean> False

true if animation effects apply to the edit form; otherwise, false.

Returns

Type Description
Boolean

true if the Edit operation is available; otherwise, false.

Remarks

You can call the Edit() method or use the EditCommand to open the edit form.

See Also