}
}
- public FormsCheckBox() : base(UIButtonType.System)
+ public FormsCheckBox()
{
TouchUpInside += OnTouchUpInside;
ContentMode = UIViewContentMode.Center;
}
if (_checked == null)
- _checked = CreateCheckBox(CreateCheckMark());
+ _checked = CreateCheckBox(CreateCheckMark()).ImageWithRenderingMode(UIImageRenderingMode.AlwaysTemplate);
if (_unchecked == null)
- _unchecked = CreateCheckBox(null);
+ _unchecked = CreateCheckBox(null).ImageWithRenderingMode(UIImageRenderingMode.AlwaysTemplate);
return IsChecked ? _checked : _unchecked;
}