Skip to main content

SchedulerOptionsViewBase.ShowOnlyResourceAppointments Property

Gets or sets a value that specifies whether appointments that do not belong to any resource are visible in the scheduling area.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v23.2.Core.Desktop.dll

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

[DefaultValue(false)]
public bool ShowOnlyResourceAppointments { get; set; }

Property Value

Type Default Description
Boolean false

true to display only the appointments that are associated with resources; false to display all appointments.

Remarks

An appointment doesn’t belong to any particular resource if the appointment’s Appointment.ResourceId property is set to the EmptyResourceId.Id value.

Note

If an appointment doesn’t belong to any particular resource, it is considered to be assigned to all resources. These appointments are shown for all resources simultaneously.

Set the ShowOnlyResourceAppointments property to true to display only the appointments which are associated with any particular resource. If the property is set to false, all appointments (bound to resources and standalone) are displayed within the scheduling area.

See Also