private void OnPropertyChanged(PropertyChangedMessageBase message) { if (message.PropertyName == "IsInPlayingMode") { IsInPlayingMode = _engine.GraphState != GraphState.Reset; UpdateMenu(); } }
private void OnPropertyChanged(PropertyChangedMessageBase message) { if (message.Sender != this) { if (message.PropertyName == "IsFullScreen") { FlipFullScreen(false); } } }
private void OnPropertyChanged(PropertyChangedMessageBase message) { if (message.Sender != this) { if (message.PropertyName == "IsFullScreen") { FlipFullScreen(false); } else if (message.PropertyName == "IsRepeat") { IsRepeat = !IsRepeat; } else if (message.PropertyName == "IsMute") { IsMute = !IsMute; } } }
private void OnPropertyChanged(PropertyChangedMessageBase message) { if (message.Sender != this) { var booleanNotificationMessage = message as PropertyChangedMessage <bool>; if (booleanNotificationMessage != null) { if (booleanNotificationMessage.PropertyName == "IsFullScreen") { IsFullScreen = booleanNotificationMessage.NewValue; } else if (booleanNotificationMessage.PropertyName == "IsControlPanelVisible") { IsControlPanelVisible = booleanNotificationMessage.NewValue; } else if (booleanNotificationMessage.PropertyName == "IsInPlayingMode") { IsInPlayingMode = booleanNotificationMessage.NewValue; } } } }
public void OnPropertyChangedMessageBase(PropertyChangedMessageBase message) { TLCGenControllerDataProvider.Default.ControllerHasChanged = true; }