public virtual bool ApplyUI(G__ApplyUI _applywhere) { if (_applywhere != this._applyUIWhere) { return(false); } if (this.iOSUIAppearance.GlobaliOSTheme.IsiOS7) { this.ApplyUI7(); } else { this.ApplyUI6(); } // Set the background selected view color this.SelectedBackgroundView = new UIView(); this.SelectedBackgroundView.BackgroundColor = iOSUIAppearance.GlobaliOSTheme.ViewCellSelectedUIColor.Value; // Setup normal color this.BackgroundView = new UIView(); this.BackgroundView.BackgroundColor = iOSUIAppearance.GlobaliOSTheme.ViewCellBGUIColor.Value; this.AlternateCellColor(); return(true); }
public override bool ApplyUI(G__ApplyUI _applywhere) { if (base.ApplyUI(_applywhere)) { return(true); } else { return(false); } }
public override bool ApplyUI(G__ApplyUI _applywhere) { if (this._bIsReadOnly) { this.UI_ViewReadOnly(); } if (this._bIsAnswer) { this.UI_ViewNeutral(); } return(true); }
public override bool ApplyUI(G__ApplyUI _applywhere) { if (base.ApplyUI(_applywhere)) { // Apply UI to the imagebackgrounds behind the filter buttons this.imBgUpperLeft.Layer.CornerRadius = 8.0f; this.imBgUpperRight.Layer.CornerRadius = 8.0f; this.imBgUpperLeft.Layer.BorderColor = UIColor.White.ColorWithAlpha(0.7f).CGColor; this.imBgUpperRight.Layer.BorderColor = UIColor.White.ColorWithAlpha(0.7f).CGColor; this.imBgUpperLeft.BackgroundColor = UIColor.White.ColorWithAlpha(0.1f); this.imBgUpperRight.BackgroundColor = UIColor.White.ColorWithAlpha(0.1f); this.imBgUpperLeft.Layer.BorderWidth = 0.5f; this.imBgUpperRight.Layer.BorderWidth = 0.5f; // Change the label filter text color to a cooler value this.lblFilter.TextColor = UIColor.Black; this.lblLevel.TextColor = UIColor.Black; //this.btnLevel1.SetClearBackGround = true; //this.btnLevel2.SetClearBackGround = true; //this.btnLevel3.SetClearBackGround = true; //this.btnLevel4.SetClearBackGround = true; //this.btnLevel5.SetClearBackGround = true; //this.btnLevel6.SetClearBackGround = true; //this.btnLevel7.SetClearBackGround = true; //this.btnLevel8.SetClearBackGround = true; //this.btnLevel9.SetClearBackGround = true; //this.btnLevel10.SetClearBackGround = true; //// Type Buttons //this.btnTypeBasic.SetClearBackGround = true; //this.btnTypeFractions.SetClearBackGround = true; //this.btnTypeGroups.SetClearBackGround = true; //this.btnTypeMixed.SetClearBackGround = true; //// Operator Buttons //this.btnOpAdd.SetClearBackGround = true; //this.btnOpAddSub.SetClearBackGround = true; //this.btnOpDivision.SetClearBackGround = true; //this.btnOpMultiply.SetClearBackGround = true; //this.btnOpMultSub.SetClearBackGround = true; //this.btnOpSubtract.SetClearBackGround = true; //// BackToMenu //this.btnBackToMenu.SetClearBackGround = true; // Im going to try and call these from MovedToSuperView inside the tv classes. this.tvLessonMain.ApplyUI(_applywhere); this.tvLessonDetail.ApplyUI(_applywhere); return(true); } else { return(false); } }
public virtual bool ApplyUI(G__ApplyUI _applywhere) { if (_applywhere != this._applyUIWhere) { return(false); } if (this.iOSUIAppearance.GlobaliOSTheme.IsiOS7) { this.ApplyUI7(); } else { this.ApplyUI6(); } return(true); }
public virtual bool ApplyUI(G__ApplyUI _applywhere) { if (_applywhere != this._applyUIWhere) { return(false); } if (this.iOSGlobals.G__iOSVersion.Major < 7) { this.ApplyUI6(); } else { this.ApplyUI7(); } return(true); }
public override bool ApplyUI(G__ApplyUI _applywhere) { if (base.ApplyUI(_applywhere)) { if (this._bIsReadOnly) { base.UI_ViewReadOnly(); } return(true); } else { return(false); } }
public override bool ApplyUI(G__ApplyUI _applywhere) { if (base.ApplyUI(_applywhere)) { // Visual Attributes For PickerView _pickerTxtField.Font = UIFont.FromName(_fontName, _fontSize); _pickerTxtField.CornerRadius = this.iOSUIAppearance.GlobaliOSTheme.TextCornerRadius; // Visual Attributes For PickerView _pickerModel.FontSize = this._fontSize; _pickerModel.FontName = this._fontName; _pickerModel.RowHeight = this._pickerRowHeight; return(true); } else { return(false); } }
public virtual bool ApplyUI(G__ApplyUI _applywhere) { if (_applywhere != this._applyUIWhere) { return(false); } if (this.iOSGlobals.G__IsiOS7) { this.ApplyUI7(); } else { this.ApplyUI6(); } // Common UI here in derives // ***** return(true); }
public override bool ApplyUI(G__ApplyUI _applywhere) { // Note the calls to base for UI when initializing if (base.ApplyUI(_applywhere)) { // if (this._bReadOnly) // { // base.UI_SetViewReadOnly(); // } // if (this._bIsAnswer) // { // base.UI_SetViewNeutral(); // } return(true); } else { return(false); } }
public override bool ApplyUI(G__ApplyUI _applywhere) { if (base.ApplyUI(_applywhere)) { if (this._bIsReadOnly) { this.UI_ViewReadOnly(); } else { this.UI_ViewNeutral(); //this.UI_AttemptedAnswerState(); } return(true); } else { return(false); } }
public override bool ApplyUI(G__ApplyUI _applywhere) { // Note the calls to base for UI when initializing if (base.ApplyUI(_applywhere)) { if (this._bIsReadOnly) { base.UI_ViewReadOnly(); } if (this._bIsAnswer) { base.UI_ViewNeutral(); //this.UI_AttemptedAnswerState(); } return(true); } else { return(false); } }