FOUPFrontView.xaml.cs 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Windows;
  7. using System.Windows.Controls;
  8. using System.Windows.Data;
  9. using System.Windows.Documents;
  10. using System.Windows.Input;
  11. using System.Windows.Media;
  12. using System.Windows.Media.Imaging;
  13. using System.Windows.Navigation;
  14. using System.Windows.Shapes;
  15. using MECF.Framework.UI.Client.ClientBase;
  16. namespace EfemDual.Client.Models.Controls
  17. {
  18. /// <summary>
  19. /// Interaction logic for FOUPFrontView.xaml
  20. /// </summary>
  21. public partial class FOUPFrontView : UserControl
  22. {
  23. public FOUPFrontView()
  24. {
  25. InitializeComponent();
  26. }
  27. #region UnitData (DependencyProperty)
  28. public ModuleInfo UnitData
  29. {
  30. get { return (ModuleInfo)GetValue(UnitDataProperty); }
  31. set { SetValue(UnitDataProperty, value); }
  32. }
  33. public static readonly DependencyProperty UnitDataProperty =
  34. DependencyProperty.Register("UnitData", typeof(ModuleInfo), typeof(FOUPFrontView), new UIPropertyMetadata(null));
  35. public bool ShowTitle
  36. {
  37. get { return (bool)GetValue(ShowTitleProperty); }
  38. set { SetValue(ShowTitleProperty, value); }
  39. }
  40. public static readonly DependencyProperty ShowTitleProperty =
  41. DependencyProperty.Register("ShowTitle", typeof(bool), typeof(FOUPFrontView), new UIPropertyMetadata(true));
  42. #endregion
  43. }
  44. }