Back to Devexpress

SchedulerOptionsViewBase.ShowOnlyResourceAppointments Property

corelibraries-devexpress-dot-xtrascheduler-dot-scheduleroptionsviewbase.md

latest2.2 KB
Original Source

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.v25.2.Core.Desktop.dll

NuGet Package : DevExpress.Scheduler.CoreDesktop

Declaration

csharp
[DefaultValue(false)]
public bool ShowOnlyResourceAppointments { get; set; }
vb
<DefaultValue(False)>
Public Property ShowOnlyResourceAppointments As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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

SchedulerOptionsViewBase Class

SchedulerOptionsViewBase Members

DevExpress.XtraScheduler Namespace