Mini Kabibi Habibi

Current Path : C:/Users/Public/Documents/DXperience 13.1 Demos/WPF/DevExpress.MailClient.Wpf/Bin/
Upload File :
Current File : C:/Users/Public/Documents/DXperience 13.1 Demos/WPF/DevExpress.MailClient.Wpf/Bin/CalendarView.xaml

<view:ViewBase x:Class="DevExpress.MailClient.Xpf.View.CalendarView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
             xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars"
             xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
             xmlns:dxr="http://schemas.devexpress.com/winfx/2008/xaml/ribbon"
             xmlns:dxsch="http://schemas.devexpress.com/winfx/2008/xaml/scheduler"
             xmlns:view="clr-namespace:DevExpress.MailClient.Xpf.View"
             mc:Ignorable="d"
             d:DesignHeight="399" d:DesignWidth="886">
    <view:ViewBase.Resources>
        <ResourceDictionary>
            <dxsch:SchedulerUICommand x:Key="commands" />
            <dxsch:SchedulerControlStringIdConverter x:Key="stringIdConverter" />
        </ResourceDictionary>
    </view:ViewBase.Resources>
    <Grid>
        <dxb:BarManager Name="barManager1">
            <dxb:BarManager.Items>
                <dxb:BarButtonItem Command="{Binding Path=NavigateViewBackward, Mode=OneTime, Source={StaticResource commands}}" CommandParameter="{Binding ElementName=schedulerControl1}" Name="bNavigateViewBackward" />
                <dxb:BarButtonItem Command="{Binding Path=NavigateViewForward, Mode=OneTime, Source={StaticResource commands}}" CommandParameter="{Binding ElementName=schedulerControl1}" Name="bNavigateViewForward" />
                <dxb:BarButtonItem Command="{Binding Path=GotoToday, Mode=OneTime, Source={StaticResource commands}}" CommandParameter="{Binding ElementName=schedulerControl1}" Name="bGotoToday" />
                <dxb:BarButtonItem Command="{Binding Path=ViewZoomIn, Mode=OneTime, Source={StaticResource commands}}" CommandParameter="{Binding ElementName=schedulerControl1}" Name="bViewZoomIn" />
                <dxb:BarButtonItem Command="{Binding Path=ViewZoomOut, Mode=OneTime, Source={StaticResource commands}}" CommandParameter="{Binding ElementName=schedulerControl1}" Name="bViewZoomOut" />
                <dxb:BarCheckItem Command="{Binding Path=SwitchToDayView, Mode=OneTime, Source={StaticResource commands}}" CommandParameter="{Binding ElementName=schedulerControl1}" Name="bSwitchToDayView" />
                <dxb:BarCheckItem Command="{Binding Path=SwitchToWorkWeekView, Mode=OneTime, Source={StaticResource commands}}" CommandParameter="{Binding ElementName=schedulerControl1}" Name="bSwitchToWorkWeekView" />
                <dxb:BarCheckItem Command="{Binding Path=SwitchToWeekView, Mode=OneTime, Source={StaticResource commands}}" CommandParameter="{Binding ElementName=schedulerControl1}" Name="bSwitchToWeekView" />
                <dxb:BarCheckItem Command="{Binding Path=SwitchToMonthView, Mode=OneTime, Source={StaticResource commands}}" CommandParameter="{Binding ElementName=schedulerControl1}" Name="bSwitchToMonthView" />
                <dxb:BarCheckItem Command="{Binding Path=SwitchToTimelineView, Mode=OneTime, Source={StaticResource commands}}" CommandParameter="{Binding ElementName=schedulerControl1}" Name="bSwitchToTimelineView" />
            </dxb:BarManager.Items>
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="*"/>
                </Grid.RowDefinitions>
                <dxr:RibbonControl Name="ribbonControl">
                    <dxr:RibbonDefaultPageCategory>
                        <dxr:RibbonPage Caption="Calendar" Name="pageViewNavigator" MergeOrder="-2">
                            <dxr:RibbonPageGroup Caption="View Navigator" Name="grpViewNavigator">
                                <dxb:BarButtonItemLink BarItemName="bNavigateViewBackward" />
                                <dxb:BarButtonItemLink BarItemName="bNavigateViewForward" />
                                <dxb:BarButtonItemLink BarItemName="bGotoToday" />
                                <dxb:BarButtonItemLink BarItemName="bViewZoomIn" />
                                <dxb:BarButtonItemLink BarItemName="bViewZoomOut" />
                            </dxr:RibbonPageGroup>
                            <dxr:RibbonPageGroup Caption="View Selector" Name="grpViewSelector">
                                <dxb:BarCheckItemLink BarItemName="bSwitchToDayView" />
                                <dxb:BarCheckItemLink BarItemName="bSwitchToWorkWeekView" />
                                <dxb:BarCheckItemLink BarItemName="bSwitchToWeekView" />
                                <dxb:BarCheckItemLink BarItemName="bSwitchToMonthView" />
                                <dxb:BarCheckItemLink BarItemName="bSwitchToTimelineView" />
                            </dxr:RibbonPageGroup>
                        </dxr:RibbonPage>
                    </dxr:RibbonDefaultPageCategory>
                </dxr:RibbonControl>
                <Grid Grid.Row="1">
                    <dxe:DateNavigator SelectedDates="{Binding SelectedDates, Mode=TwoWay}" SpecialDates="{Binding SpecialDates, Mode=TwoWay}">
                        <dxe:DateNavigator.StyleSettings>
                            <dxsch:SchedulerDateNavigatorStyleSettings SchedulerControl="{Binding ElementName=schedulerControl1}"/>
                        </dxe:DateNavigator.StyleSettings>
                    </dxe:DateNavigator>
                    <dxsch:SchedulerControl BarManager="{Binding ElementName=barManager1, Mode=OneTime}" Name="schedulerControl1">
                        <dxsch:SchedulerControl.Storage>
                            <dxsch:SchedulerStorage>
                                <dxsch:SchedulerStorage.AppointmentStorage>
                                    <dxsch:AppointmentStorage DataSource="{Binding Appointments}">
                                        <dxsch:AppointmentStorage.Mappings>
                                            <dxsch:AppointmentMapping
                                                    Start="StartDate"
                                                    End="EndDate"
                                                    AllDay="AllDay"
                                                    Description="Description"
                                                    Label="Label"
                                                    Location="Location"
                                                    Subject="Subject"
                                                    RecurrenceInfo="RecurrenceInfo"
                                                    ReminderInfo="ReminderInfo"
                                                    Status="Status"
                                                    Type="EventType"/>
                                        </dxsch:AppointmentStorage.Mappings>
                                    </dxsch:AppointmentStorage>
                                </dxsch:SchedulerStorage.AppointmentStorage>
                            </dxsch:SchedulerStorage>
                        </dxsch:SchedulerControl.Storage>
                    </dxsch:SchedulerControl>
                </Grid>
            </Grid>
        </dxb:BarManager>
    </Grid>
</view:ViewBase>