FOUPFrontViewPro.xaml.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using System;
  2. using System.Windows;
  3. using System.Windows.Controls;
  4. using System.Windows.Media;
  5. using System.Windows.Shapes;
  6. using MECF.Framework.UI.Client.ClientBase;
  7. namespace MECF.Framework.UI.Client.Ctrlib.UnitControls
  8. {
  9. /// <summary>
  10. /// Interaction logic for FOUPFrontViewPro.xaml
  11. /// </summary>
  12. public partial class FOUPFrontViewPro : UserControl
  13. {
  14. public FOUPFrontViewPro()
  15. {
  16. InitializeComponent();
  17. }
  18. #region UnitData (DependencyProperty)
  19. public ModuleInfo UnitData
  20. {
  21. get { return (ModuleInfo)GetValue(UnitDataProperty); }
  22. set { SetValue(UnitDataProperty, value); }
  23. }
  24. public static readonly DependencyProperty UnitDataProperty =
  25. DependencyProperty.Register("UnitData", typeof(ModuleInfo), typeof(FOUPFrontViewPro), new UIPropertyMetadata(null));
  26. public bool ShowTitle
  27. {
  28. get { return (bool)GetValue(ShowTitleProperty); }
  29. set { SetValue(ShowTitleProperty, value); }
  30. }
  31. public static readonly DependencyProperty ShowTitleProperty =
  32. DependencyProperty.Register("ShowTitle", typeof(bool), typeof(FOUPFrontViewPro), new UIPropertyMetadata(true));
  33. #endregion
  34. }
  35. }