AutoView.xaml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <UserControl x:Class="OHV.Module.MainViews.Views.AutoView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
  7. xmlns:local="clr-namespace:OHV.Module.MainViews.Views"
  8. xmlns:prism="http://prismlibrary.com/"
  9. prism:ViewModelLocator.AutoWireViewModel="True"
  10. xmlns:OHVCommonShareds="clr-namespace:OHV.Common.Shareds;assembly=OHV.Common"
  11. mc:Ignorable="d" d:DesignHeight="450" d:DesignWidth="800"
  12. >
  13. <Grid Background="#37474f">
  14. <Grid.ColumnDefinitions>
  15. <ColumnDefinition Width="*"/>
  16. </Grid.ColumnDefinitions>
  17. <Grid Margin="15" Background="#263238">
  18. <Grid.RowDefinitions>
  19. <RowDefinition />
  20. <RowDefinition />
  21. <RowDefinition />
  22. </Grid.RowDefinitions>
  23. <ContentControl Grid.Row="0" prism:RegionManager.RegionName="{x:Static OHVCommonShareds:RegionNames.VehicleCommandList}" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Width="auto" Height="auto"/>
  24. <GridSplitter Height="3" VerticalAlignment="Bottom" HorizontalAlignment="Stretch" Background="Gray"></GridSplitter>
  25. <ContentControl Grid.Row="1" prism:RegionManager.RegionName="{x:Static OHVCommonShareds:RegionNames.VehicleSubCmdList}" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Width="auto" Height="auto"/>
  26. <GridSplitter Grid.Row="1" Height="3" VerticalAlignment="Bottom" HorizontalAlignment="Stretch" Background="Gray"></GridSplitter>
  27. <ContentControl Grid.Row="2" prism:RegionManager.RegionName="{x:Static OHVCommonShareds:RegionNames.VehicleStatus}" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Width="auto" Height="auto"/>
  28. </Grid>
  29. </Grid>
  30. </UserControl>