public BoundPage() { VM = InjectionManager.GetViewModel <T>(); this.BindingContext = VM; if (!string.IsNullOrEmpty(VM.PageTitle)) { VM.PageTitle = this.Title; } this.SetBinding(ContentPage.TitleProperty, "PageTitle"); }
public TelephonyBoundPage() { VM = InjectionManager.GetViewModel <T>(); this.BindingContext = VM; if (!string.IsNullOrEmpty(VM.PageTitle)) { VM.PageTitle = this.Title; } this.SetBinding(ContentPage.TitleProperty, "PageTitle"); if (CoreSettings.AppData.Instance.Settings.AnalyticsEnabled) { VM.Log.LogAnalytics(this.GetType().FullName); } }
public BoundMasterDetailPage() { VM = InjectionManager.GetViewModel <T>(); this.BindingContext = VM; }