ShowVisionRender.xaml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. <b:Interaction.Triggers>
  16. <b:EventTrigger EventName="Loaded">
  17. <b:InvokeCommandAction Command="{Binding LoadedCommand}" />
  18. </b:EventTrigger>
  19. </b:Interaction.Triggers>
  20. <UserControl.Resources>
  21. <Style TargetType="TextBlock">
  22. <Setter Property="Foreground"
  23. Value="White" />
  24. <Setter Property="FontWeight"
  25. Value="Bold" />
  26. <Setter Property="FontSize"
  27. Value="12" />
  28. <Setter Property="HorizontalAlignment"
  29. Value="Center" />
  30. <Setter Property="VerticalAlignment"
  31. Value="Top" />
  32. <Setter Property="Margin"
  33. Value="0,10" />
  34. </Style>
  35. </UserControl.Resources>
  36. <Grid x:Name="gridRender">
  37. </Grid>
  38. </UserControl>