12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <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:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:konto="clr-namespace:GCHR.Model.Konto"
- mc:Ignorable="d"
- 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 DataType="konto:HaendlerKonto">
- <Label HorizontalContentAlignment="Left" VerticalAlignment="Bottom" Content="{Binding Path=Kontonummer}" FontSize="18"/>
- </DataTemplate>
- </GridViewColumn.CellTemplate>
- </GridViewColumn>
- <GridViewColumn Header="Beschriftung">
- <GridViewColumn.CellTemplate>
- <DataTemplate>
- <Grid d:DataContext="{d:DesignData HaendlerKonto}">
- <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" Text="{Binding Path=Vormonat5, Mode=OneWay}" ToolTip="{Binding ElementName=Root, Path=Vormonat5, Mode=OneWay}" />
- <TextBox HorizontalContentAlignment="Right" IsReadOnly="True" IsTabStop="False" TextAlignment="Right" Width="70" Text="{Binding Path=Vormonat4, Mode=OneWay}" ToolTip="{Binding ElementName=Root, Path=Vormonat4, Mode=OneWay}" />
- <TextBox HorizontalContentAlignment="Right" IsReadOnly="True" IsTabStop="False" TextAlignment="Right" Width="70" Text="{Binding Path=Vormonat3, Mode=OneWay}" ToolTip="{Binding ElementName=Root, Path=Vormonat3, Mode=OneWay}" />
- <TextBox HorizontalContentAlignment="Right" IsReadOnly="True" IsTabStop="False" TextAlignment="Right" Width="70" Text="{Binding Path=Vormonat2, Mode=OneWay}" ToolTip="{Binding ElementName=Root, Path=Vormonat2, Mode=OneWay}" />
- <TextBox HorizontalContentAlignment="Right" IsReadOnly="True" IsTabStop="False" TextAlignment="Right" Width="70" Text="{Binding Path=Vormonat1, Mode=OneWay}" ToolTip="{Binding ElementName=Root, Path=Vormonat1, Mode=OneWay}" />
- </WrapPanel>
- </Grid>
- </DataTemplate>
- </GridViewColumn.CellTemplate>
- </GridViewColumn>
- <GridViewColumn Width="100" Header="Aktuelle Periode">
- <GridViewColumn.CellTemplate>
- <DataTemplate DataType="konto:HaendlerKonto">
- <TextBox HorizontalContentAlignment="Right" Text="{Binding Path=Saldo, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" GotFocus="TextBoxGotFocus" KeyUp="TextBox_KeyUp" TextAlignment="Right" FontSize="12" VerticalAlignment="Bottom" 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 IsTabStop="False" Margin="3" Width="80" Height="24" Template="{DynamicResource GlassButton}" Click="BtnManuelleDruckenClick" Foreground="White" Name="BtnManuelleDrucken">Drucken</Button>
- <Button IsTabStop="False" 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>
|