예제 #1
0
파일: QView.cs 프로젝트: tretikoff/Qoden.UI
 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();
 }