-
Notifications
You must be signed in to change notification settings - Fork 0
/
USTEntry.xaml
23 lines (23 loc) · 1.28 KB
/
USTEntry.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<UserControl x:Name="userControl" x:Class="USTMaker.USTEntry"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:USTMaker"
mc:Ignorable="d" HorizontalAlignment="Stretch">
<Grid Background="#FFDADADA" HorizontalAlignment="Stretch" Width="700">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<TextBox x:Name="name" Text="Text" VerticalAlignment="Center" Height="26" Margin="0,0,26,0"/>
<Button x:Name="delete" Width="26" Height="26" Background="Red" HorizontalAlignment="Right" VerticalAlignment="Center" Click="delete_Click">
<TextBlock Text="x" Margin="0,-3,0,0"></TextBlock>
</Button>
<ListBox Grid.Row="1" x:Name="listBox">
<Button BorderThickness="1,1,1,1" Width="16.96" Height="16.96" Click="NewEntry">
<TextBlock Text="+" Margin="0,-3,0,0"></TextBlock>
</Button>
</ListBox>
</Grid>
</UserControl>