private void SettingsManagerVisibility_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
 {
     if (e.PropertyName == "IsSettingsManagerVisible")
     {
         //hide when the settingmanager is completly hidden
         if (!_settingsManagerVisibility.IsSettingsManagerVisible)
         {
             _tweenable.TweenToState(false);
         }
     }
 }
Exemplo n.º 2
0
 public void SetVisibility(bool toState)
 {
     _tweenable.TweenToState(toState);
     IsSettingsManagerVisible = toState;
 }