MainContent.xaml 1.0 KB

1234567891011121314151617181920212223
  1. <UserControl
  2. x:Class="PDF_Office.Views.MainContent"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:cus="clr-namespace:PDF_Office.CustomControl"
  6. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7. xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
  8. xmlns:local="clr-namespace:PDF_Office.Views"
  9. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  10. xmlns:prism="http://prismlibrary.com/"
  11. d:DesignHeight="450"
  12. d:DesignWidth="800"
  13. prism:ViewModelLocator.AutoWireViewModel="True"
  14. mc:Ignorable="d">
  15. <!--<i:Interaction.Triggers>
  16. <i:EventTrigger EventName="Loaded">
  17. <prism:InvokeCommandAction Command="{Binding Loaded}" CommandParameter="{Binding}" />
  18. </i:EventTrigger>
  19. </i:Interaction.Triggers>-->
  20. <Grid>
  21. <ContentControl Name="ContentMain" prism:RegionManager.RegionName="{Binding MainContentRegionName}" />
  22. </Grid>
  23. </UserControl>