-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathLabeledInput.xaml
18 lines (18 loc) · 1.05 KB
/
LabeledInput.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<UserControl x:Class="VRC_OSC_ExternallyTrackedObject.LabeledInput"
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:VRC_OSC_ExternallyTrackedObject"
mc:Ignorable="d"
DataContext="{Binding RelativeSource={RelativeSource Self}}"
d:DesignHeight="30" d:DesignWidth="350">
<Grid Height="30" x:Name="OuterShell">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="150"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
</Grid.ColumnDefinitions>
<Label Height="28" Content="{Binding LabelText}" HorizontalAlignment="Left"></Label>
<TextBox Grid.Column="1" Height="20" Text="{Binding InputText}" Margin="0,0,5,0"></TextBox>
</Grid>
</UserControl>