123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- <Window x:Class="GCHR.View.ManuelleKontenBearbeiten"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:local="clr-namespace:GCHR"
- x:Name="root"
- Title="Manuelle Konten bearbeiten" Height="480" Width="780">
- <Grid Name="GridManuelle">
- <Grid.Background>
- <LinearGradientBrush StartPoint="0,1" EndPoint="0,0">
- <GradientStop Color="#FF9EBFDE" Offset=".5"/>
- <GradientStop Color="#FF30567A" Offset="1"/>
- </LinearGradientBrush>
- </Grid.Background>
- <Label Margin="12,12,12,0" VerticalAlignment="Top" Foreground="White">Bitte geben Sie die aktuellen Werte für die manuellen Konten ein:</Label>
- <ListView Name="lvManuelle" Opacity="1.0" Margin="12,36,12,42" Focusable="True" KeyboardNavigation.TabNavigation="Continue" HorizontalContentAlignment="Stretch">
- <ListView.ItemContainerStyle>
- <Style TargetType="{x:Type ListViewItem}">
- <Setter Property="IsTabStop" Value="False" />
- <Setter Property="HorizontalContentAlignment" Value="Stretch" />
- <Setter Property="VerticalContentAlignment" Value="Stretch" />
- </Style>
- </ListView.ItemContainerStyle>
- <ListView.View>
- <GridView AllowsColumnReorder="False">
- <GridViewColumn Width="90" Header="Kontonummer">
- <GridViewColumn.CellTemplate>
- <DataTemplate>
- <Label HorizontalContentAlignment="Left" VerticalAlignment="Center" Content="{Binding Path=Kontonummer}" FontSize="18" />
- </DataTemplate>
- </GridViewColumn.CellTemplate>
- </GridViewColumn>
- <GridViewColumn Header="Beschriftung">
- <GridViewColumn.CellTemplate>
- <DataTemplate>
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition />
- <RowDefinition />
- </Grid.RowDefinitions>
- <Label HorizontalContentAlignment="Left" Content="{Binding Path=Bezeichnung}" FontSize="12" />
- <WrapPanel Grid.Row="1" TextElement.FontSize="9">
- <TextBox HorizontalContentAlignment="Right" IsReadOnly="True" IsTabStop="False" TextAlignment="Right" Width="70" Cursor="Hand" Text="{Binding Path=Vormonat5, Mode=OneWay}" ToolTip="{Binding ElementName=root, Path=Vormonat5, Mode=OneWay}" GotFocus="VormonatGotFocus" />
- <TextBox HorizontalContentAlignment="Right" IsReadOnly="True" IsTabStop="False" TextAlignment="Right" Width="70" Cursor="Hand" Text="{Binding Path=Vormonat4, Mode=OneWay}" ToolTip="{Binding ElementName=root, Path=Vormonat4, Mode=OneWay}" GotFocus="VormonatGotFocus" />
- <TextBox HorizontalContentAlignment="Right" IsReadOnly="True" IsTabStop="False" TextAlignment="Right" Width="70" Cursor="Hand" Text="{Binding Path=Vormonat3, Mode=OneWay}" ToolTip="{Binding ElementName=root, Path=Vormonat3, Mode=OneWay}" GotFocus="VormonatGotFocus" />
- <TextBox HorizontalContentAlignment="Right" IsReadOnly="True" IsTabStop="False" TextAlignment="Right" Width="70" Cursor="Hand" Text="{Binding Path=Vormonat2, Mode=OneWay}" ToolTip="{Binding ElementName=root, Path=Vormonat2, Mode=OneWay}" GotFocus="VormonatGotFocus" />
- <TextBox HorizontalContentAlignment="Right" IsReadOnly="True" IsTabStop="False" TextAlignment="Right" Width="70" Cursor="Hand" Text="{Binding Path=Vormonat1, Mode=OneWay}" ToolTip="{Binding ElementName=root, Path=Vormonat1, Mode=OneWay}" GotFocus="VormonatGotFocus" />
- </WrapPanel>
- </Grid>
- </DataTemplate>
- </GridViewColumn.CellTemplate>
- </GridViewColumn>
- <GridViewColumn Width="100" Header="Aktuelle Periode">
- <GridViewColumn.CellTemplate>
- <DataTemplate>
- <TextBox HorizontalContentAlignment="Right" Text="{Binding Path=Saldo, Mode=TwoWay}" GotFocus="TextBoxGotFocus" TextAlignment="Right" FontSize="12" VerticalAlignment="Top" Width="90" />
- </DataTemplate>
- </GridViewColumn.CellTemplate>
- </GridViewColumn>
- <!--<GridViewColumn Width="100" Header="Vormonat">
- <GridViewColumn.CellTemplate>
- <DataTemplate>
- <TextBox HorizontalContentAlignment="Right" Text="{Binding Path=Vormonat, StringFormat=\{0:0.00\}, Mode=OneTime}" BorderThickness="0" TextAlignment="Right" FontSize="9" Focusable="False" IsTabStop="False" IsReadOnly="True" IsEnabled="True" />
- </DataTemplate>
- </GridViewColumn.CellTemplate>
- </GridViewColumn>-->
- </GridView>
- </ListView.View>
- </ListView>
- <WrapPanel VerticalAlignment="Bottom" HorizontalAlignment="Right" Margin="12,0,12,6">
- <Button Margin="3" Width="80" Height="24" Template="{DynamicResource GlassButton}" Click="BtnManuelleDruckenClick" Foreground="White" Name="btnManuelleDrucken">Drucken</Button>
- <Button Margin="3" Width="80" Height="24" Template="{DynamicResource GlassButton}" Click="BtnManuelleAusblendenClick" Foreground="White" Name="btnManuelleAusblenden">Ausblenden</Button>
- <Button Margin="3" Width="80" Height="24" Template="{DynamicResource GlassButton}" Click="BtnManuelleIgnorierenClick" Foreground="White" Name="btnManuelleIgnorieren">Ignorieren</Button>
- <Button Margin="3" Width="80" Height="24" Template="{DynamicResource GlassButton}" Click="BtnManuelleSpeichernClick" Name="btnManuelleSpeichern" Foreground="White">Speichern</Button>
- </WrapPanel>
- </Grid>
- </Window>
|