Mini Kabibi Habibi
<local:SchedulerDemoModule x:Class="SchedulerDemo.GroupByDate"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:collections="clr-namespace:System.Collections;assembly=mscorlib"
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
xmlns:dxsch="http://schemas.devexpress.com/winfx/2008/xaml/scheduler"
xmlns:dxschcore="clr-namespace:DevExpress.XtraScheduler;assembly=DevExpress.XtraScheduler.v13.1.Core"
xmlns:local="clr-namespace:SchedulerDemo" xmlns:dxdb="http://schemas.devexpress.com/winfx/2008/xaml/demobase"
xmlns:sys="clr-namespace:System;assembly=mscorlib">
<dxdb:DemoModuleControl>
<dxdb:DemoModuleControl.OptionsContent>
<StackPanel>
<dx:GroupFrame Header="View Types" MinWidth="150">
<dxe:ListBoxEdit x:Name="viewType" Background="{x:Null}" ShowBorder="False" ValueMember="ViewType" DisplayMember="Caption" EditValue="{Binding Path=ActiveViewType, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
<dxe:ListBoxEdit.StyleSettings>
<dxe:RadioListBoxEditStyleSettings />
</dxe:ListBoxEdit.StyleSettings>
<dxe:ListBoxEdit.ItemsSource>
<local:ObjectList>
<local:DemoViewTypeListItem Caption="Day View" ViewType="Day" />
<local:DemoViewTypeListItem Caption="Work Week" ViewType="WorkWeek" />
<local:DemoViewTypeListItem Caption="Week View" ViewType="Week" />
<local:DemoViewTypeListItem Caption="Month View" ViewType="Month" />
<local:DemoViewTypeListItem Caption="Timeline View" ViewType="Timeline" />
</local:ObjectList>
</dxe:ListBoxEdit.ItemsSource>
</dxe:ListBoxEdit>
</dx:GroupFrame>
<dx:GroupFrame Header="Resource Navigator Options" MinWidth="150">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<TextBlock Grid.Column="0" Text="Visibility:" VerticalAlignment="Center" />
<dxe:ComboBoxEdit Grid.Column="1" VerticalAlignment="Center"
HorizontalAlignment="Stretch" IsTextEditable="False"
SelectedItem="{Binding Path=ResourceNavigator.Visibility, Mode=TwoWay}">
<dxe:ComboBoxEdit.ItemsSource>
<local:ResourceNavigatorVisibilityTypes>
<dxschcore:ResourceNavigatorVisibility>Always</dxschcore:ResourceNavigatorVisibility>
<dxschcore:ResourceNavigatorVisibility>Never</dxschcore:ResourceNavigatorVisibility>
<dxschcore:ResourceNavigatorVisibility>Auto</dxschcore:ResourceNavigatorVisibility>
</local:ResourceNavigatorVisibilityTypes>
</dxe:ComboBoxEdit.ItemsSource>
</dxe:ComboBoxEdit>
</Grid>
</dx:GroupFrame>
</StackPanel>
</dxdb:DemoModuleControl.OptionsContent>
<dxsch:SchedulerControl x:Name="scheduler" ActiveViewType="Day" VerticalAlignment="Stretch" GroupType="Date">
<dxsch:SchedulerControl.DayView>
<dxsch:DayView ResourcesPerPage="2" DayCount="3"></dxsch:DayView>
</dxsch:SchedulerControl.DayView>
<dxsch:SchedulerControl.WorkWeekView>
<dxsch:WorkWeekView ResourcesPerPage="2"></dxsch:WorkWeekView>
</dxsch:SchedulerControl.WorkWeekView>
<dxsch:SchedulerControl.WeekView>
<dxsch:WeekView ResourcesPerPage="2"></dxsch:WeekView>
</dxsch:SchedulerControl.WeekView>
<dxsch:SchedulerControl.MonthView>
<dxsch:MonthView ResourcesPerPage="2"></dxsch:MonthView>
</dxsch:SchedulerControl.MonthView>
<dxsch:SchedulerControl.TimelineView>
<dxsch:TimelineView ResourcesPerPage="2"></dxsch:TimelineView>
</dxsch:SchedulerControl.TimelineView>
</dxsch:SchedulerControl>
</dxdb:DemoModuleControl>
</local:SchedulerDemoModule>