private static void OnDevicePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { ((DeviceView)d).UpdateView(e.NewValue); }