Foup.xaml 2.2 KB

1234567891011121314151617181920212223242526
  1. <UserControl x:Class="VirgoUI.Client.Controls.Parts.Foup"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. mc:Ignorable="d" x:Name="self"
  7. d:DesignHeight="66" d:DesignWidth="66">
  8. <UserControl.Resources>
  9. <ResourceDictionary>
  10. <ResourceDictionary.MergedDictionaries>
  11. <ResourceDictionary Source="/VirgoUI;component/Themes/Generic.xaml" />
  12. </ResourceDictionary.MergedDictionaries>
  13. </ResourceDictionary>
  14. </UserControl.Resources>
  15. <Grid>
  16. <Ellipse Stretch="Fill" Visibility="{Binding IdleVisibility, ElementName=self}" Fill="{StaticResource idleWafer}" StrokeThickness="2" StrokeLineJoin="Round" Stroke="#FF00641D" Width="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=ActualWidth}" Height="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=ActualWidth}">
  17. </Ellipse>
  18. <Ellipse Stretch="Fill" Visibility="{Binding BusyVisibility, ElementName=self}" Fill="{StaticResource busyWafer}" StrokeThickness="2" StrokeLineJoin="Round" Stroke="#FF00641D" Width="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=ActualWidth}" Height="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=ActualWidth}">
  19. </Ellipse>
  20. <Ellipse Stretch="Fill" Visibility="{Binding CompleteVisibility, ElementName=self}" Fill="{StaticResource completeWafer}" StrokeThickness="2" StrokeLineJoin="Round" Stroke="#FF00641D" Width="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=ActualWidth}" Height="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=ActualWidth}">
  21. </Ellipse>
  22. <Ellipse Stretch="Fill" Visibility="{Binding ErrorVisibility, ElementName=self}" Fill="{StaticResource errorWafer}" StrokeThickness="2" StrokeLineJoin="Round" Stroke="#FF00641D" Width="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=ActualWidth}" Height="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=ActualWidth}">
  23. </Ellipse>
  24. </Grid>
  25. </UserControl>