schangxiang@126.com
2025-11-04 f5ed29dc26c7cd952d56ec5721a2efc43cd25992
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<UserControl x:Class="XHandler.View.MethodProperty.SocketParamterItem"
             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:str="clr-namespace:XHandler.Properties"
             xmlns:ctrls="clr-namespace:XHandler.Controls"
             mc:Ignorable="d" 
             Height="auto" Width="auto" Loaded="UserControl_Loaded">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="35"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="200"/>
            <ColumnDefinition Width="280"/>
        </Grid.ColumnDefinitions>
 
        <!--命令标签-->
        <TextBlock Grid.Row="0" Grid.Column="0" x:Name="tBoxTitle" Text="xxxx1" FontSize="16"
                   VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0 0 40 0"/>
        <TextBox Grid.Row="0" Grid.Column="1"  x:Name="tBoxValue" Height="30" FontSize="16" VerticalContentAlignment="Center" HorizontalContentAlignment="Left"
                 BorderThickness="0" Text="xxx2" TextChanged="tBoxValue_TextChanged" Background="{DynamicResource lightGrayBrush}" Width="260"/>
    </Grid>
</UserControl>