Back to Devexpress

SchedulerControl.CommandBarStyle Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulercontrol-e97c2e47.md

latest4.5 KB
Original Source

SchedulerControl.CommandBarStyle Property

Gets or sets the command bar for the SchedulerControl. This is a dependency property.

Namespace : DevExpress.Xpf.Scheduling

Assembly : DevExpress.Xpf.Scheduling.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public CommandBarStyle CommandBarStyle { get; set; }
vb
Public Property CommandBarStyle As CommandBarStyle

Property Value

TypeDescription
CommandBarStyle

A CommandBarStyle enumeration value specifying the command bar type.

|

Available values:

NameDescription
Empty

The Scheduler does not display an integrated ribbon.

| | Ribbon |

The Scheduler displays an integrated ribbon.

|

Remarks

Use the CommandBarStyle property to provide the SchedulerControl with a built-in ribbon menu. To do that, set the property to CommandBarStyle.Ribbon/ , as shown in the How to: Display the Integrated Ribbon for the Scheduler topic.

The following code snippets (auto-collected from DevExpress Examples) contain references to the CommandBarStyle property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-scheduler-use-scheduler-report-to-print-and-export-appointments/CS/PrintingExample/MainWindow.xaml#L24

xml
x:Name="scheduler"
CommandBarStyle="Ribbon"
GroupType="Resource">

wpf-scheduler-apply-end-user-restrictions/CS/WpfApplication1/MainWindow.xaml#L15

xml
<dxsch:SchedulerControl Name="schedulerControl1"
                        CommandBarStyle="Ribbon"
                        GroupType="Resource"

wpf-scheduler-handle-customappointmentbackground-event-to-change-appointment-background/CS/CustomAppointmentBackground/MainWindow.xaml#L12

xml
<dxsch:SchedulerControl x:Name="scheduler" CommandBarStyle="Ribbon"
                        GroupType="Resource"

wpf-scheduler-hide-non-working-days-in-day-view/CS/NavigateCommandExample/MainWindow.xaml#L25

xml
AllowCellMultiSelect="False"
CommandBarStyle="Ribbon"
Start="{Binding SchedulerStart, Mode=OneTime}"

wpf-scheduler-customize-built-in-ribbon-control/CS/SchedulerRibbonExample/MainWindow.xaml#L19

xml
ActiveViewIndex="0"
                    CommandBarStyle="Ribbon">
<dxsch:SchedulerControl.RibbonActions>

See Also

How to: Display the Integrated Ribbon for the Scheduler

SchedulerControl Class

SchedulerControl Members

DevExpress.Xpf.Scheduling Namespace