void ReleaseDesignerOutlets() { if (LabelPageTitle != null) { LabelPageTitle.Dispose(); LabelPageTitle = null; } if (LabelPrivacyText != null) { LabelPrivacyText.Dispose(); LabelPrivacyText = null; } if (LinkHomePageCognitiveServices != null) { LinkHomePageCognitiveServices.Dispose(); LinkHomePageCognitiveServices = null; } if (LinkPrivacyPolicy != null) { LinkPrivacyPolicy.Dispose(); LinkPrivacyPolicy = null; } }
public override void ViewDidLoad() { base.ViewDidLoad(); NavigationController.SetNavigationBarHidden(false, false); this.SetTranslation(); this.bindings = new List <Binding>() { }; LinkHomePageCognitiveServices.UserInteractionEnabled = true; LinkHomePageCognitiveServices.AddGestureRecognizer(new UITapGestureRecognizer(() => { this.ViewModel.GotoCognitiveServicesUrlCommand.Execute(null); })); LinkPrivacyPolicy.UserInteractionEnabled = true; LinkPrivacyPolicy.AddGestureRecognizer(new UITapGestureRecognizer(() => { this.ViewModel.GotoMicrosoftPrivacyPoliciesUrlCommand.Execute(null); })); }