public AquamonixLabel(FontWithColor fontWithColor) : this() { ExceptionUtility.Try(() => { this.SetFontAndColor(fontWithColor); }); }
public void SetLine2Font(FontWithColor font) { ExceptionUtility.Try(() => { this._secondLineLabel.SetFontAndColor(font); this._secondLineLabel.SizeToFit(); }); }
public void SetFontAndColor(FontWithColor fontWithColor) { ExceptionUtility.Try(() => { this.Font = fontWithColor.Font; this.TextColor = fontWithColor.Color; }); }
public void SetLine1Font(FontWithColor font) { ExceptionUtility.Try(() => { this._numberLabel.SetFontAndColor(font); this._firstLineLabel.SetFontAndColor(font); this._firstLineLabel.SizeToFit(); }); }
public IconWithLabel(FontWithColor font) : base() { ExceptionUtility.Try(() => { this._label.SetFontAndColor(font); this.AddSubviews(_icon, _label); }); }
public static void SetFontAndColor(this UILabel label, FontWithColor fontWithColor) { label.Font = fontWithColor.Font; label.TextColor = fontWithColor.Color; }
public static void SetFontAndColor(this UIButton button, FontWithColor fontWithColor) { button.Font = fontWithColor.Font; button.SetTitleColor(fontWithColor.Color, UIControlState.Normal); button.SetTitleColor(fontWithColor.Color, UIControlState.Disabled); }
public void SetFontAndColor(FontWithColor font) { this._label.SetFontAndColor(font); }