| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Reflection.Metadata.Ecma335;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows;
- using System.Windows.Controls;
- using System.Windows.Data;
- using System.Windows.Documents;
- using System.Windows.Input;
- using System.Windows.Media;
- using System.Windows.Media.Imaging;
- using System.Windows.Navigation;
- using System.Windows.Shapes;
- namespace SummaryModule.Controls.BaseMotion
- {
- /// <summary>
- /// Interaction logic for LoadPort.xaml
- /// </summary>
- public partial class LoadPort : UserControl
- {
- public LoadPort()
- {
- InitializeComponent();
- }
- public string Header
- {
- get { return (string)GetValue(HeaderProperty); }
- set { SetValue(HeaderProperty, value); }
- }
- // Using a DependencyProperty as the backing store for Header. This enables animation, styling, binding, etc...
- public static readonly DependencyProperty HeaderProperty =
- DependencyProperty.Register(nameof(Header), typeof(string), typeof(LoadPort), new PropertyMetadata(default));
- public ICommand Command
- {
- get { return (ICommand)GetValue(CommandProperty); }
- set { SetValue(CommandProperty, value); }
- }
- // Using a DependencyProperty as the backing store for Command. This enables animation, styling, binding, etc...
- public static readonly DependencyProperty CommandProperty =
- DependencyProperty.Register(nameof(Command), typeof(ICommand), typeof(LoadPort), new PropertyMetadata(default));
- public object CommandParameter
- {
- get { return (object)GetValue(CommandParameterProperty); }
- set { SetValue(CommandParameterProperty, value); }
- }
- // Using a DependencyProperty as the backing store for CommandParameter. This enables animation, styling, binding, etc...
- public static readonly DependencyProperty CommandParameterProperty =
- DependencyProperty.Register(nameof(CommandParameter), typeof(object), typeof(LoadPort), new PropertyMetadata(default));
- public bool FoupLoaded
- {
- get { return (bool)GetValue(FoupLoadedProperty); }
- set { SetValue(FoupLoadedProperty, value); }
- }
- // Using a DependencyProperty as the backing store for FoupLoaded. This enables animation, styling, binding, etc...
- public static readonly DependencyProperty FoupLoadedProperty =
- DependencyProperty.Register(nameof(FoupLoaded), typeof(bool), typeof(LoadPort), new PropertyMetadata(false));
- }
- }
|