Пример #1
0
        public DeviceInstanceControl(DeviceInstance instance)
        {
            m_instance = instance;
            m_propertyControlMapping = new BidirectionalDictionary <DeviceInstanceProperty, View>();

            InitializeComponent();

            BindingContext = new DeviceInstanceViewModel(instance);

            BuildUI();

            m_instance.PropertyChanged += Instance_PropertyChanged;
        }
Пример #2
0
 public DeviceInstanceViewModel(DeviceInstance instance)
 {
     m_instance = instance;
 }