https://help.syncfusion.com/xamarin/themes/keys#sfcheckbox
the list there shows no entry to change the boarder color of the CheckBox and by default it is black in darkmode it seems
Hi Michael,
We have validated your query “Customize the border color of SfCheckBox”. We don’t have direct support to change the border color for the SfCheckBox instead we can change the color of SfCheckBox through the `CheckedColor & UnCheckedColor` API. Can you please refer to the below link for more information?
UG link: https://help.syncfusion.com/xamarin/checkbox/visual-customization#customizing-a-state-color
We can override the default key values by using the below Keys for the SfCheckBox while using themes.
Link: https://help.syncfusion.com/xamarin/themes/keys#sfcheckbox
We have logged a feature request for BorderColor support for the SfCheckBox. It will be included in any of the upcoming releases.
Link: https://www.syncfusion.com/feedback/35309/provide-border-color-support-for-sfcheckbox
If you have any more specifications/precise replication procedures or a scenario to be tested, you can add them as a comment in the portal.
Regards,
Ruba Shanmugam
Thank You this has helped a lot!
BUT, how is this possible to configure in the SfDataform?
nevermind I was able to change it during the item generation
(e.DataFormItem as DataFormCheckBoxItem).UnCheckedColor = (Color)Application.Current.Resources["TextPrimaryColor"];
Hi Michael,
We are glad to know that your issue is resolved. Please let us know if you need any other assistance. We will be happy to assist you.
Regards,
Sangavi
Yes thank You,
I still believe that there should be a possibility to specify the boarder color of the checkBox, as this would affect as well how the presentation looks like in selected state.
In selected state, there would be a boarder color, a background color and the selection color where currently I don't see how this would be possible.
Hi Michael,
As per our previous update currently, we don’t have direct support for changing the border color of SfCheckBox. But we can customize the SfCheckBox using a CheckedColor and UnCheckedColor property.
Background color - We have a Background color property to customize it.
Selection color - We have checked color property to customize it
Border color - We don't have support to customize it.
We have already logged a feature request for this requirement. Please get the feedback link below. It will be included in any of the upcoming releases.
Link: https://www.syncfusion.com/feedback/35309/provide-border-color-support-for-sfcheckbox
We will let you know once the feature was implemented on our side.
Regards,
Ruba Shanmugam