1
0
mirror of https://github.com/proxysu/ProxySU.git synced 2025-02-16 22:53:13 +03:00
ProxySU/ProxySuper.WPF/Controls/HostControl.xaml
2021-05-14 19:07:19 +08:00

33 lines
1.3 KiB
XML

<UserControl x:Class="ProxySuper.WPF.Controls.HostControl"
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:ProxySuper.WPF.Controls"
mc:Ignorable="d">
<Grid>
<GroupBox Padding="10" Header="Host">
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="60" />
<ColumnDefinition Width="auto" />
</Grid.ColumnDefinitions>
<Label Content="地址:" Grid.Row="0" Grid.Column="0" />
<TextBox Grid.Row="0" Grid.Column="1"
Width="200"
Text="{Binding Host.Address}"
VerticalContentAlignment="Center" />
</Grid>
</GroupBox>
</Grid>
</UserControl>