UserView.xaml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <UserControl x:Class="TeamAAS_VP.Views.UserView"
  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:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
  7. xmlns:b="http://schemas.microsoft.com/xaml/behaviors"
  8. xmlns:vm="clr-namespace:TeamAAS_VP.ViewModels"
  9. xmlns:user="clr-namespace:TeamAAS_VP.Views.User"
  10. xmlns:prism="http://prismlibrary.com/"
  11. xmlns:lex="http://wpflocalizeextension.codeplex.com"
  12. lex:LocalizeDictionary.DesignCulture="zh-CN"
  13. lex:ResxLocalizationProvider.DefaultAssembly="TeamAAS-VP"
  14. lex:ResxLocalizationProvider.DefaultDictionary="Lang"
  15. prism:ViewModelLocator.AutoWireViewModel="True"
  16. mc:Ignorable="d"
  17. d:DataContext="{d:DesignInstance Type=vm:UserViewModel}"
  18. d:Height="600"
  19. d:Width="1024"
  20. d:Background="White"
  21. TextOptions.TextFormattingMode="Display"
  22. TextOptions.TextRenderingMode="ClearType"
  23. UseLayoutRounding="True"
  24. SnapsToDevicePixels="True"
  25. FontFamily="{DynamicResource DefaultFont}">
  26. <b:Interaction.Triggers>
  27. <b:EventTrigger EventName="Loaded">
  28. <b:InvokeCommandAction Command="{Binding LoadedCommand}" />
  29. </b:EventTrigger>
  30. </b:Interaction.Triggers>
  31. <Grid>
  32. <ContentControl Grid.Row="1"
  33. prism:RegionManager.RegionName="UserRegionContext" />
  34. </Grid>
  35. </UserControl>