Skip to main content

SchedulerControl.OptionsView Property

Provides access to the scheduler control's view options.

Namespace: DevExpress.Xpf.Scheduler

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

#Declaration

public OptionsView OptionsView { get; set; }

#Property Value

Type Description
OptionsView

An OptionsView object which provides a set of properties specifying the scheduler's presentation.

#Remarks

Use the OptionsView property to specify view settings for the scheduler. For example, you can specify the week day from which weeks should start in the current view (the OptionsView.FirstDayOfWeek property), or access to the navigation buttons (the OptionsView.NavigationButtonOptions). To get the complete list of available options and their descriptions, refer to OptionsView.

#Examples

This example demonstrates how to specify the SchedulerControl's presentation using the SchedulerControl.OptionsView property.

<dxsch:SchedulerControl.OptionsView>
    <dxsch:OptionsView FirstDayOfWeek="Tuesday" ShowOnlyResourceAppointments="True">
        <dxsch:OptionsView.NavigationButtonOptions>
            <dxsch:NavigationButtonOptions Visibility="Auto" AppointmentSearchInterval="2"/>
        </dxsch:OptionsView.NavigationButtonOptions>
    </dxsch:OptionsView>
</dxsch:SchedulerControl.OptionsView>
See Also