<UserControl x:Class="VIZ.TVP.FTB.Module.DateHeaderView"
                      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                      xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
                      xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
                      xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
                      xmlns:dxmvvm="http://schemas.devexpress.com/winfx/2008/xaml/mvvm"
                      xmlns:dxrudex="http://schemas.devexpress.com/winfx/2008/xaml/reports/userdesignerextensions"
                      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             
                      xmlns:sys="clr-namespace:System;assembly=mscorlib"
                      xmlns:core="clr-namespace:VIZ.Framework.Core;assembly=VIZ.Framework.Core"
                      xmlns:storage="clr-namespace:VIZ.TVP.FTB.Module"
             mc:Ignorable="d"
             d:DesignHeight="40" d:DesignWidth="800" >
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="40"/>
            <!--<RowDefinition Height="*"/>-->
        </Grid.RowDefinitions>

        <WrapPanel  Grid.Row="0" VerticalAlignment="Center">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="80"/>
                    <ColumnDefinition Width="110"/>
                    <ColumnDefinition Width="90"/>
                    <ColumnDefinition Width="40"/>
                    <ColumnDefinition Width="150"/>
                    <ColumnDefinition Width="280"/>
                </Grid.ColumnDefinitions>


                <TextBlock Text="赛事：" Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center" ></TextBlock>


                <dxe:ComboBoxEdit Grid.Column="1" Height="30" Grid.Row="8" Width="100"
                              ItemsSource="{Binding Path=FootballTypes,Mode=TwoWay}"  SelectedItem="{Binding Path=SelectFootballType,Mode=TwoWay}"></dxe:ComboBoxEdit>


                <WrapPanel Grid.Column="4" VerticalAlignment="Center">
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="80"/>
                            <ColumnDefinition Width="35"/>
                            <ColumnDefinition Width="35"/>
                        </Grid.ColumnDefinitions>
                        <TextBlock Text="数据源：" HorizontalAlignment="Right" VerticalAlignment="Center" FontSize="14" />
                        <RadioButton Content="主" FontSize="14" Grid.Column="1" IsChecked="{Binding MainDataConnection,Mode=TwoWay}"/>
                        <RadioButton Content="备" FontSize="14" Grid.Column="2" IsChecked="{Binding BackDataConnection,Mode=TwoWay}"/>
                    </Grid>
                </WrapPanel>

              
            </Grid>
        </WrapPanel>

    </Grid>
</UserControl>
