TimelineView.SelectionBar Property
Provides access to the selection bar options.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v24.2.dll
NuGet Package: DevExpress.Wpf.Scheduler
Declaration
Property Value
Type | Description |
---|---|
SchedulerSelectionBarOptions | A SchedulerSelectionBarOptions object specifying the appearance of the selection bar. |
Remarks
Important
You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.
Use the SelectionBar property to get access to the visual options of the selection bar, like SchedulerSelectionBarOptions.Height and SchedulerSelectionBarOptions.Visible visibility.
Example
This example demonstrates how to specify the appearance of the selection bar in the Timeline View, using the TimelineView.SelectionBar
property.
<dxsch:SchedulerControl.TimelineView>
<dxsch:TimelineView>
<dxsch:TimelineView.SelectionBar>
<dxsch:SchedulerSelectionBarOptions Visible="True" Height="20"/>
</dxsch:TimelineView.SelectionBar>
</dxsch:TimelineView>
</dxsch:SchedulerControl.TimelineView>