Skip to main content

ResourceTreeCommands.CanDelete() Method

Determines whether a currently focused group or resource can be deleted in the Resource Tree.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v23.2.dll

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public bool CanDelete()

Returns

Type Description
Boolean

true, if a currently focused group or resource can be deleted; otherwise, false.

Remarks

ResourceTreeCommands.DeleteCommand calls the Delete method if the CanDelete method returns true.

See Also