终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Window1.xaml 1.8 KiB

2 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <Window
  2. x:Class="WPFDemo.Window1"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:WPFDemo"
  7. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8. Title="Window1"
  9. Width="800"
  10. Height="450"
  11. mc:Ignorable="d">
  12. <Grid>
  13. <Grid.RowDefinitions />
  14. <Grid.ColumnDefinitions>
  15. <ColumnDefinition />
  16. <ColumnDefinition Width="10" />
  17. <ColumnDefinition />
  18. </Grid.ColumnDefinitions>
  19. <TextBlock
  20. Grid.Row="0"
  21. Grid.Column="0"
  22. Text="LLLLLLLLLLLLLL" />
  23. <GridSplitter
  24. Grid.Row="0"
  25. Grid.Column="1"
  26. Width="10"
  27. HorizontalAlignment="Center"
  28. VerticalAlignment="Stretch"
  29. Background="Wheat"
  30. DragDelta="GridSplitter_DragDelta" />
  31. <Grid Grid.Row="0" Grid.Column="2">
  32. <Grid.RowDefinitions>
  33. <RowDefinition />
  34. <RowDefinition Height="10" />
  35. <RowDefinition />
  36. </Grid.RowDefinitions>
  37. <Grid.ColumnDefinitions>
  38. <ColumnDefinition />
  39. </Grid.ColumnDefinitions>
  40. <TextBlock
  41. Grid.Row="0"
  42. Grid.Column="0"
  43. Text="RRRRRRTTTTTTTT" />
  44. <GridSplitter
  45. Grid.Row="1"
  46. Grid.Column="0"
  47. Height="10"
  48. HorizontalAlignment="Stretch"
  49. Background="Wheat" />
  50. <TextBlock
  51. Grid.Row="2"
  52. Grid.Column="0"
  53. Text="RRRRRRBBBBBBBB" />
  54. </Grid>
  55. </Grid>
  56. </Window>