ArcGISWindowsPhoneSDK.EditingCodedValueDomains.OnBackKeyPress C# (CSharp) Method

OnBackKeyPress() protected method

protected OnBackKeyPress ( System e ) : void
e System
return void
        protected override void OnBackKeyPress(System.ComponentModel.CancelEventArgs e)
        {
            if (FacilityChoicesPage.IsOpen)
            {
                FacilityChoicesPage.IsOpen = false;
                e.Cancel = true;
            }
            if (QualityChoicesPage.IsOpen)
            {
                QualityChoicesPage.IsOpen = false;
                e.Cancel = true;
            }
            if (FeatureInfoPage.IsOpen)
            {
                FeatureInfoPage.IsOpen = false;
                ApplicationBar.IsVisible = true;

                e.Cancel = true;
            }
        }