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

AppointmentResourceEdit.ShowEmptyResource Property

Gets or sets whether the AppointmentResourceEdit control allows selecting (Any) resource which specifies an empty resource object. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling.Editors

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

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public bool ShowEmptyResource { get; set; }

Property Value

Type Description
Boolean

true, to show the empty resource item; otherwise, false.

Remarks

The (Any) item is a special object (empty resource) indicating that no resource is associated with that appointment. This object is obtained using the ResourceItemEmpty.Resource property.

Set the ShowEmptyResource to false to hide the EmptyResource item in the AppointmentResourceEdit control.

Tip

The empty resource’s caption is localizable and specified by the SchedulerStringId.Caption_EmptyResource identifier.

See Also