MainWindow.xaml 1011 B

123456789101112131415161718192021222324
  1. <Window x:Class="OHV.Vehicle.MainWindow"
  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:OHV.Vehicle"
  7. xmlns:prism="http://prismlibrary.com/"
  8. prism:ViewModelLocator.AutoWireViewModel="True"
  9. mc:Ignorable="d"
  10. Title="{Binding Title}" Height="1000" Width="1280">
  11. <Grid>
  12. <Grid.ColumnDefinitions>
  13. <ColumnDefinition Width="1*"/>
  14. <ColumnDefinition Width="1*"/>
  15. </Grid.ColumnDefinitions>
  16. <TextBlock ><InlineUIContainer>
  17. </InlineUIContainer></TextBlock>
  18. <Button Content="Button" Height="30" Width="65" Command="{Binding TestCommand}"/>
  19. <ContentControl Grid.Column="1" prism:RegionManager.RegionName="IOView" />
  20. </Grid>
  21. </Window>