ShowVisionRender.xaml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <UserControl x:Class="TeamAAS_VP.Views.Home.ShowVisionRender"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:prism="http://prismlibrary.com/"
  5. xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
  6. xmlns:b="http://schemas.microsoft.com/xaml/behaviors"
  7. xmlns:wf="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration"
  8. xmlns:vp="clr-namespace:Cognex.VisionPro;assembly=Cognex.VisionPro.Controls"
  9. xmlns:lex="http://wpflocalizeextension.codeplex.com"
  10. lex:LocalizeDictionary.DesignCulture="zh-CN"
  11. lex:ResxLocalizationProvider.DefaultAssembly="TeamAAS-VP"
  12. lex:ResxLocalizationProvider.DefaultDictionary="Lang"
  13. prism:ViewModelLocator.AutoWireViewModel="True"
  14. FontFamily="{DynamicResource DefaultFont}"
  15. Unloaded="ShowVisionRender_Unloaded">
  16. <b:Interaction.Triggers>
  17. <b:EventTrigger EventName="Loaded">
  18. <b:InvokeCommandAction Command="{Binding LoadedCommand}" />
  19. </b:EventTrigger>
  20. </b:Interaction.Triggers>
  21. <UserControl.Resources>
  22. <Style TargetType="TextBlock">
  23. <Setter Property="Foreground"
  24. Value="White" />
  25. <Setter Property="FontWeight"
  26. Value="Bold" />
  27. <Setter Property="FontSize"
  28. Value="12" />
  29. <Setter Property="HorizontalAlignment"
  30. Value="Center" />
  31. <Setter Property="VerticalAlignment"
  32. Value="Top" />
  33. <Setter Property="Margin"
  34. Value="0,10" />
  35. </Style>
  36. </UserControl.Resources>
  37. <Grid x:Name="gridRender">
  38. </Grid>
  39. </UserControl>