WinLayout.xaml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <Window x:Class="Test.Layout.WinLayout"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:Test.Layout"
  7. xmlns:controls="http://schemas.FWind/xaml"
  8. mc:Ignorable="d"
  9. Title="WinLayout" Height="300" Width="300">
  10. <Grid>
  11. <Grid.ColumnDefinitions>
  12. <ColumnDefinition></ColumnDefinition>
  13. <ColumnDefinition></ColumnDefinition>
  14. </Grid.ColumnDefinitions>
  15. <StackPanel>
  16. <controls:LabelEditor Header="刺激" LabelWidth="50" Margin="3">
  17. <TextBox Text="ccc"></TextBox>
  18. </controls:LabelEditor>
  19. <controls:LabelEditor Header="刺激2" LabelWidth="50" Margin="3" Orientation="Vertical">
  20. <TextBox Text="dadasdasda"></TextBox>
  21. </controls:LabelEditor>
  22. </StackPanel>
  23. <StackPanel Grid.Column="1">
  24. <controls:LabelEditor Header="刺激" Orientation="Vertical" Margin="3">
  25. <TextBox Text="ccc"></TextBox>
  26. </controls:LabelEditor>
  27. <controls:LabelEditor Header="刺激" Orientation="Vertical" Margin="3">
  28. <TextBox Text="ccc"></TextBox>
  29. </controls:LabelEditor>
  30. <controls:LabelEditor Header="刺激" Orientation="Vertical" Margin="3">
  31. <TextBox Text="ccc"></TextBox>
  32. </controls:LabelEditor>
  33. </StackPanel>
  34. </Grid>
  35. </Window>