Skip to main content
All docs
V26.1
  • 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.v26.1.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