<localView:BeWoView x:Class="BeWo.View.Detail.AccountingTransactionBookingView2"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:localView="clr-namespace:BeWo.View"
        xmlns:localViewModel="clr-namespace:BeWo.ViewModel" xmlns:localViewDetail="clr-namespace:BeWo.View.Detail"
        xmlns:localViewControls="clr-namespace:BeWo.View.Controls"
        xmlns:val="clr-namespace:BeWo.Validation" xmlns:proxy="clr-namespace:BeWo.ServiceProxy"
        xmlns:uc="clr-namespace:BeWo.Controls;assembly=BeWo.Controls"
        xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
        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:s="clr-namespace:System;assembly=mscorlib" xmlns:r="clr-namespace:BeWo.Security"
        VerticalAlignment="Stretch" Focusable="False" HorizontalAlignment="Stretch" Height="Auto" Width="Auto"
        xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Classic">
  
  <Grid x:Name="rootGrid">
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto" />
      <RowDefinition Height="*" />
      <RowDefinition Height="Auto" />
    </Grid.RowDefinitions>

      <!--############################################### Auswahlfeld Jahr ###################################################-->
      <Grid x:Name="customerAuswahl" Grid.Row="0" Margin="0,3,0,0">
        <Grid.ColumnDefinitions>
          <ColumnDefinition Width="175" />
        </Grid.ColumnDefinitions>
        <TextBlock Margin="0 1,1,0" Text="Jahr" Foreground="Black"  />
        <ComboBox Height="23" x:Name="combobox_year" VerticalAlignment="Top"  Width="100" SelectionChanged="SelectYearToExecuteProgramm"  />
      </Grid>


      <!--############################################### DAS Grid ###################################################-->
      <Grid x:Name="serviceRecordListContent"  Margin="0,0,0,25" Grid.Row="1" Grid.Column="0"  >
        <GroupBox Header="Gesamtbuchung aller Klienten"  Style="{DynamicResource ObjectEditGroupBox}"  Margin="0,0,0,-3">
            <dxg:GridControl x:Name="srGridControl"  AutoExpandAllGroups="False"      >

              <dxg:GridControl.Columns>
                <dxg:GridColumn Header="Klient"    FieldName="Klient"    AllowEditing="False"    Width="250"     />

                <dxg:GridColumn Header="Januar"    FieldName="Januar"    AllowEditing="True"                     />
                <dxg:GridColumn Header="Februar"   FieldName="Februar"   AllowEditing="True"                     />
                <dxg:GridColumn Header="März"      FieldName="März"      AllowEditing="True"                     />
                <dxg:GridColumn Header="April"     FieldName="April"     AllowEditing="True"                     />
                <dxg:GridColumn Header="Mai"       FieldName="Mai"       AllowEditing="True"                     />
                <dxg:GridColumn Header="Juni"      FieldName="Juni"      AllowEditing="True"                     />
                <dxg:GridColumn Header="Juli"      FieldName="Juli"      AllowEditing="True"                     />
                <dxg:GridColumn Header="August"    FieldName="August"    AllowEditing="True"                     />
                <dxg:GridColumn Header="September" FieldName="September" AllowEditing="True"                     />
                <dxg:GridColumn Header="Oktober"   FieldName="Oktober"   AllowEditing="True"                     />
                <dxg:GridColumn Header="November"  FieldName="November"  AllowEditing="True"                     />
                <dxg:GridColumn Header="Dezember"  FieldName="Dezember"  AllowEditing="True"                     />

              </dxg:GridControl.Columns>
              <dxg:GridControl.View>
                <dxg:TableView x:Name="srTableView"
                               AutoWidth="False"
                               ShowGroupPanel="False"
                               ShowTotalSummary="False"
                               NavigationStyle="Cell"
                               ShowAutoFilterRow="False"
                               />
              
              </dxg:GridControl.View>
           </dxg:GridControl>
        </GroupBox>
      </Grid>
      
    <!-- ################################ Excel Export #################################      
    <TextBlock Grid.Row="2" x:Name="textblock_link" VerticalAlignment="Bottom" Margin="5,0,5,3"
              HorizontalAlignment="Right" FontSize="14">

              <Hyperlink x:Name="linkExcelExport" TargetName="newWindow" Foreground="#FF2B508B">
                                
                <Run Text="Excel Export" />
              </Hyperlink>
    </TextBlock>
  -->
  </Grid>
</localView:BeWoView>