wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulercontrol-e97c2e47.md
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
public CommandBarStyle CommandBarStyle { get; set; }
Public Property CommandBarStyle As CommandBarStyle
| Type | Description |
|---|---|
| CommandBarStyle |
A CommandBarStyle enumeration value specifying the command bar type.
|
Available values:
| Name | Description |
|---|---|
| Empty |
The Scheduler does not display an integrated ribbon.
| | Ribbon |
The Scheduler displays an integrated ribbon.
|
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.
x:Name="scheduler"
CommandBarStyle="Ribbon"
GroupType="Resource">
wpf-scheduler-apply-end-user-restrictions/CS/WpfApplication1/MainWindow.xaml#L15
<dxsch:SchedulerControl Name="schedulerControl1"
CommandBarStyle="Ribbon"
GroupType="Resource"
<dxsch:SchedulerControl x:Name="scheduler" CommandBarStyle="Ribbon"
GroupType="Resource"
wpf-scheduler-hide-non-working-days-in-day-view/CS/NavigateCommandExample/MainWindow.xaml#L25
AllowCellMultiSelect="False"
CommandBarStyle="Ribbon"
Start="{Binding SchedulerStart, Mode=OneTime}"
wpf-scheduler-customize-built-in-ribbon-control/CS/SchedulerRibbonExample/MainWindow.xaml#L19
ActiveViewIndex="0"
CommandBarStyle="Ribbon">
<dxsch:SchedulerControl.RibbonActions>
See Also