|
@@ -0,0 +1,29 @@
|
|
|
+<wpf:ThemableWindow x:Class="InABox.WPF.DoubleEdit"
|
|
|
+ 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:sf="http://schemas.syncfusion.com/wpf"
|
|
|
+ xmlns:wpf="clr-namespace:InABox.Wpf"
|
|
|
+ mc:Ignorable="d"
|
|
|
+ Title="DoubleEdit" Height="200" Width="300">
|
|
|
+ <Grid>
|
|
|
+ <Grid.RowDefinitions>
|
|
|
+ <RowDefinition Height="*" />
|
|
|
+ <RowDefinition Height="40" />
|
|
|
+ </Grid.RowDefinitions>
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
+ <ColumnDefinition Width="Auto" />
|
|
|
+ <ColumnDefinition Width="*" />
|
|
|
+ <ColumnDefinition Width="80" />
|
|
|
+ <ColumnDefinition Width="80" />
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
+ <Label x:Name="Label" Grid.Row="0" Grid.Column="0" Margin="10" HorizontalAlignment="Left"
|
|
|
+ HorizontalContentAlignment="Left" VerticalAlignment="Stretch" VerticalContentAlignment="Center"
|
|
|
+ Content="Enter Value" />
|
|
|
+ <sf:DoubleTextBox x:Name="Editor" Grid.Row="0" Grid.Column="1" Margin="20" Grid.ColumnSpan="3"
|
|
|
+ HorizontalAlignment="Stretch" VerticalAlignment="Center" Value="0" TextAlignment="Center" />
|
|
|
+ <Button x:Name="OK" Grid.Row="1" Grid.Column="2" Margin="5" Content="OK" Click="OK_Click" />
|
|
|
+ <Button x:Name="Cancel" Grid.Row="1" Grid.Column="3" Margin="5" Content="Cancel" Click="Cancel_Click" />
|
|
|
+ </Grid>
|
|
|
+</wpf:ThemableWindow>
|