BaconographyW8.Common.SettingsFlyout.OnCurrentWindowActivated C# (CSharp) Метод

OnCurrentWindowActivated() приватный Метод

private OnCurrentWindowActivated ( object sender, Windows e ) : void
sender object
e Windows
Результат void
        void OnCurrentWindowActivated(object sender, Windows.UI.Core.WindowActivatedEventArgs e)
        {
            if (e.WindowActivationState == Windows.UI.Core.CoreWindowActivationState.Deactivated)
            {
                this.IsOpen = false;
            }
        }