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

TimelineView.SelectionBar Property

Provides access to the selection bar options.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v18.2.dll

Declaration

public SchedulerSelectionBarOptions SelectionBar { get; set; }

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>
See Also