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

ResourceTreeCommands.CanCreateResource() Method

Determines whether a new resource can be created in the Resource Tree.

Namespace: DevExpress.Xpf.Scheduling

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Scheduling, DevExpress.Wpf.Scheduling

Declaration

public bool CanCreateResource()

Returns

Type Description
Boolean

true, if a new resource can be created; otherwise, false.

Remarks

ResourceTreeCommands.CreateResourceCommand calls the CreateResource method if the CanCreateResource method returns true.

See Also