public void OverrideExistingTheme(Models.MenuCell themeModel) { ThemeConfig = themeModel; SetupTitle(_title, ThemeConfig.Name); SetupBadge(_badge, _badgeView, ThemeConfig.Badge); this.SetupStyle(ThemeConfig); }
protected MenuCell(IntPtr handle) : base(handle) { ThemeConfig = Mvx.Resolve <IMenuThemeConfigService>().ThemeConfig.LeftViewController.MenuTable.MenuCell; this.DelayBind(() => { InitializeControls(); BindControls(); }); }