BaconographyW8.Common.SettingsFlyout.OnCurrentWindowActivated C# (CSharp) Method

OnCurrentWindowActivated() private method

private OnCurrentWindowActivated ( object sender, Windows e ) : void
sender object
e Windows
return void
        void OnCurrentWindowActivated(object sender, Windows.UI.Core.WindowActivatedEventArgs e)
        {
            if (e.WindowActivationState == Windows.UI.Core.CoreWindowActivationState.Deactivated)
            {
                this.IsOpen = false;
            }
        }