54 lines
2.6 KiB
XML
54 lines
2.6 KiB
XML
<Window x:Class="Elwig.Dialogs.LinearPriceIncreaseDialog"
|
|
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:local="clr-namespace:Elwig.Dialogs"
|
|
mc:Ignorable="d"
|
|
ResizeMode="NoResize"
|
|
ShowInTaskbar="False"
|
|
Topmost="True"
|
|
WindowStartupLocation="CenterOwner"
|
|
FocusManager.FocusedElement="{Binding ElementName=PriceInput}"
|
|
Title="Linear wachsen" Height="140" Width="270">
|
|
<Window.Resources>
|
|
<Style TargetType="Label">
|
|
<Setter Property="HorizontalAlignment" Value="Left"/>
|
|
<Setter Property="VerticalAlignment" Value="Top"/>
|
|
<Setter Property="Padding" Value="2,4,2,4"/>
|
|
<Setter Property="Height" Value="25"/>
|
|
</Style>
|
|
<Style TargetType="TextBox">
|
|
<Setter Property="HorizontalAlignment" Value="Stretch"/>
|
|
<Setter Property="VerticalAlignment" Value="Top"/>
|
|
<Setter Property="FontSize" Value="14"/>
|
|
<Setter Property="Padding" Value="2"/>
|
|
<Setter Property="Height" Value="25"/>
|
|
<Setter Property="TextWrapping" Value="NoWrap"/>
|
|
</Style>
|
|
<Style TargetType="Button">
|
|
<Setter Property="HorizontalAlignment" Value="Right"/>
|
|
<Setter Property="VerticalAlignment" Value="Bottom"/>
|
|
<Setter Property="Width" Value="100"/>
|
|
<Setter Property="Height" Value="25"/>
|
|
</Style>
|
|
</Window.Resources>
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="55"/>
|
|
<ColumnDefinition/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Label Content="Preis:" Margin="10,20,10,10"/>
|
|
<Grid Grid.Column="1" Width="145" Height="25" Margin="0,20,0,0" HorizontalAlignment="Left" VerticalAlignment="Top">
|
|
<TextBox x:Name="PriceInput" TextAlignment="Right" Padding="2,2,30,2"
|
|
TextChanged="PriceInput_TextChanged"/>
|
|
<Label Content="€/kg" Margin="0,4,3,0" HorizontalAlignment="Right" FontSize="10" Padding="2,4,2,4"/>
|
|
</Grid>
|
|
|
|
<Button x:Name="ConfirmButton" Content="Bestätigen" Margin="17,0,133,10" IsEnabled="False" IsDefault="True"
|
|
Click="ConfirmButton_Click" Grid.ColumnSpan="2" HorizontalAlignment="Stretch"/>
|
|
<Button x:Name="CancelButton" Content="Abbrechen" Margin="0,0,20,10" Grid.Column="1" IsCancel="True"/>
|
|
</Grid>
|
|
</Window>
|