Skip to main content

Selection Bar

The Selection Bar element of the Timeline View is intended to facilitate time cell selection. Its location and use are illustrated in the following picture:

Docs_VisualElements_SchedulerControl_SelectionBar

The TimelineView.SelectionBar provides access to options that can be used to customize the element’s appearance. You can change its height via the SelectionBarOptions.Height property, and choose to make it visible by changing the SelectionBarOptions.Visible property.

If the selection bar height is sufficient to indicate appointment statuses, they are shown as illustrated in the following table:

Default SelectionBarOptions.Height = 0 SelectionBarOptions.Height = 25
SelectionBarHeight0 SelectionBarHeight25

If multiple appointments with different statuses occupy the same interval, the highest priority status is displayed. The priority is defined as follows (the lower number is higher priority):

  1. AppointmentStatusType.OutOfOffice
  2. AppointmentStatusType.Busy
  3. AppointmentStatusType.Tentative
  4. AppointmentStatusType.WorkingElsewhere