Controls: Add UnitTextBox

This commit is contained in:
2023-11-04 21:40:54 +01:00
parent 12226c3d0f
commit 6435a649b4
12 changed files with 118 additions and 57 deletions

View File

@ -4,6 +4,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:Elwig.Windows"
xmlns:ctrl="clr-namespace:Elwig.Controls"
mc:Ignorable="d"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
Title="Flächenbindungen - Elwig" Height="480" Width="1100"
@ -161,8 +162,8 @@
TextChanged="GstNrInput_TextChanged" LostFocus="GstNrInput_LostFocus"/>
<Label Content="Fläche:" Margin="10,100,0,0" Grid.Column="0"/>
<TextBox x:Name="AreaInput" Margin="0,100,0,0" Width="100" Grid.Column="1" TextAlignment="Right" HorizontalAlignment="Left"
TextChanged="IntegerInput_TextChanged"/>
<ctrl:UnitTextBox x:Name="AreaInput" Unit="m²" TextChanged="IntegerInput_TextChanged"
Grid.Column="1" Width="70" Margin="0,100,10,10" VerticalAlignment="Top" HorizontalAlignment="Left"/>
</Grid>
</GroupBox>
</Grid>