示例#1
0
 public static void SetBackgroundColor(this View view, RGB bgColor)
 {
     view.SetBackgroundColor(bgColor.ToColor());
 }
示例#2
0
 public static void SetTextColor(this UITextField field, RGB color)
 {
     field.TextColor = color.ToColor();
 }
示例#3
0
 public static void SetTextColor(this TextView view, RGB color)
 {
     view.SetTextColor(color.ToColor());
 }
示例#4
0
 public static void SetTextColor(this Button view, RGB color)
 {
     view.SetTextColor(color.ToColor());
 }
示例#5
0
 public static void SetTextColor(this UIButton view, RGB color)
 {
     view.SetTitleColor(color.ToColor(), UIControlState.Normal);
 }
示例#6
0
 public static void SetBackgroundColor(this UIView view, RGB bgColor)
 {
     view.BackgroundColor = bgColor.ToColor();
 }
示例#7
0
 public static void SetTextColor(this EditText field, RGB color)
 {
     field.SetTextColor(color.ToColor());
 }
示例#8
0
 public static void SetTextColor(this UILabel view, RGB color)
 {
     view.TextColor = color.ToColor();
 }