public BlackViewController(IntPtr handle) : base(handle) { var style = UIButton.AppearanceWhenContainedIn(typeof(PlainView)); style.SetTitleColor(UIColor.Black, UIControlState.Normal); var style1 = UISlider.AppearanceWhenContainedIn(typeof(PlainView)); style1.ThumbTintColor = UIColor.DarkGray; style1.MaximumTrackTintColor = UIColor.Gray; style1.MinimumTrackTintColor = UIColor.LightGray; var style2 = UIProgressView.AppearanceWhenContainedIn(typeof(PlainView)); style2.ProgressTintColor = UIColor.DarkGray; style2.TrackTintColor = UIColor.LightGray; }
public BlueViewController(IntPtr handle) : base(handle) { var style = UIButton.AppearanceWhenContainedIn(typeof(PlainView)); style.SetTitleColor(UIColor.Blue, UIControlState.Normal); var style1 = UISlider.AppearanceWhenContainedIn(typeof(PlainView)); style1.ThumbTintColor = UIColor.Blue; style1.MaximumTrackTintColor = UIColor.FromRGB(0, 114, 255); style1.MinimumTrackTintColor = UIColor.FromRGB(0, 255, 255); var style2 = UIProgressView.AppearanceWhenContainedIn(typeof(PlainView)); style2.ProgressTintColor = UIColor.FromRGB(150, 221, 255); style2.TrackTintColor = UIColor.FromRGB(211, 255, 243); }