<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="DataBinding.MainPage" mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <c1:C1Menu Grid.Row="0" FontFamily="Segoe UI" BorderThickness="1" BorderBrush="#FF6392CE">
            <c1:C1MenuItem x:Name="btnToday" Header="Today" FontSize="14" Click="btnToday_Click" />
            <c1:C1Separator />
            <c1:C1MenuItem x:Name="btnDay" Header="Day" FontSize="14" Click="btnDay_Click" />
            <c1:C1MenuItem x:Name="btnWorkWeek" Header="Work Week" FontSize="14" Click="btnWorkWeek_Click" />
            <c1:C1MenuItem x:Name="btnWeek" Header="Week" FontSize="14" Click="btnWeek_Click" />
            <c1:C1MenuItem x:Name="btnMonth" Header="Month" FontSize="14" Click="btnMonth_Click" />
            <c1:C1MenuItem x:Name="btnTimeLine" Header="Time Line" FontSize="14" Click="btnTimeLine_Click" />
            <c1:C1Separator />
            <c1:C1MenuItem x:Name="btnImport" Header="Import..." FontSize="14" ToolTipService.ToolTip="Import data from the local file." Click="btnImport_Click" />
            <c1:C1MenuItem x:Name="btnExport" Header="Export..." FontSize="14" ToolTipService.ToolTip="Export data to the local file." Click="btnExport_Click" />
            <c1:C1Separator />
            <c1:C1MenuItem x:Name="btnCommit" Header="Commit Changes" FontSize="14" ToolTipService.ToolTip="Commit changes to server." Click="btnCommit_Click" />
        </c1:C1Menu>
        <c1:C1Scheduler x:Name="sched1" BorderThickness="1,0,1,1" Grid.Row="1" BorderBrush="#FF6392CE" />
        <!-- Status bar -->
        <StackPanel Margin="2" Grid.Row="2" Orientation="Horizontal">
            <TextBlock Margin="2,2,10,2">Status:</TextBlock>
            <TextBlock Margin="2" x:Name="tbStatus" Grid.Row="2" MinHeight="10" />
        </StackPanel>
    </Grid>
</UserControl>