JohnSon:SilverLight详细表单信息

 <!--第一行-->
                        <Border BorderBrush="#C7DAE9" BorderThickness="1" Grid.Column="0" Grid.Row="0" Padding="0,0,5,0">
                            <TextBlock Text="姓名:" Style="{StaticResource TextBlockInfo}"/>
                        </Border>
                        <Border BorderBrush="#C7DAE9" BorderThickness="0,1,1,1" Grid.Column="1" Grid.Row="0" Padding="10,0,0,0">
                            <TextBox Text="{Binding Uname,Mode=TwoWay}" Style="{StaticResource TextBoxInfo}" Name="txtName"/>
                        </Border>
                        <Border BorderBrush="#C7DAE9" BorderThickness="0,1,1,1" Grid.Column="2" Grid.Row="0" Padding="0,0,5,0">
                            <TextBlock Text="性别:" Style="{StaticResource TextBlockInfo}"/>
                        </Border>
                        <Border BorderBrush="#C7DAE9" BorderThickness="0,1,1,1" Grid.Column="3" Grid.Row="0" Padding="10,0,0,0">
                            <StackPanel VerticalAlignment="Center" HorizontalAlignment="Left" Orientation="Horizontal" Name="aa">
                                <RadioButton  Name="rbMen" GroupName="rbGroup" Content="男" IsChecked="{Binding UMensex,Mode=TwoWay}"/>
                                <RadioButton  Name="rbWoMen" GroupName="rbGroup" Content="女" IsChecked="{Binding Usex,Mode=TwoWay}"/>
                            </StackPanel>
                        </Border>
                        <!--第2行-->
                        <Border BorderBrush="#C7DAE9" BorderThickness="1,0,1,1" Grid.Column="0" Grid.Row="1" Background="White" Padding="0,0,5,0">
                            <TextBlock Text="职务:" Style="{StaticResource TextBlockInfo}"/>
                        </Border>
                        <Border BorderBrush="#C7DAE9" BorderThickness="0,0,1,1" Grid.Column="1" Grid.Row="1" Background="White" Padding="10,0,0,0">
                            <TextBox Text="{Binding Uduty,Mode=TwoWay}" Style="{StaticResource TextBoxInfo}" Name="txtDuty"/>
                        </Border>
                        <Border BorderBrush="#C7DAE9" BorderThickness="0,0,1,1" Grid.Column="2" Grid.Row="1" Background="White" Padding="0,0,5,0">
                            <TextBlock Text="生日:" Style="{StaticResource TextBlockInfo}"/>
                        </Border>
                        <Border BorderBrush="#C7DAE9" BorderThickness="0,0,1,1" Grid.Column="3" Grid.Row="1" Background="White" Padding="10,0,0,0">
                            <TextBox Text="{Binding Ubirthday,Mode=TwoWay}" Style="{StaticResource TextBoxInfo}" Name="txtBirthday"/>
                        </Border>

你可能感兴趣的:(silverlight)