Skip to content

[iOS] Color of the checkBox control is not properly worked on dynamic scenarios #34278

Description

@Ahamed-Ali

Description

When color of the checkbox is changed to null dynamically , it does not change to default color, it retains with the Old Color applied in iOS.

Issue Video

Screen.Recording.2026-02-27.at.4.51.11.PM.mov

Steps to Reproduce

SetColorIssue.zip

Please run this sample and click button to observe the changes

Link to public reproduction project repository

No response

Version with bug

10.0.41

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 18 and iOS 26

Did you find any workaround?

No response

Relevant log output

Activity

  1. added
    t/bug
    on Feb 27, 2026
  2. added
    partner/syncfusion
    on Feb 27, 2026
  3. self-assigned this
    on Feb 27, 2026
  4. TamilarasanSF4853 commented on Feb 27, 2026

    @TamilarasanSF4853
    Contributor

    This issue has been validated in Visual Studio Code 1.109.5 with MAUI versions 10.0.0 and 10.0.41. It can be reproducible on the iOS and Mac platforms.

  5. added
    s/verified
    s/triaged
    platform/macos
    and removed on Feb 27, 2026
  6. added this to the .NET 10 SR6 milestone on Feb 27, 2026
  7. stephenquan commented on Feb 28, 2026

    @stephenquan

    This issue isn’t actually valid. In Styles.xaml, the initial value of CheckBox.Color is defined as
    {AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}.

    The code‑behind then overrides this value by setting the color to Colors.Red, which breaks the AppThemeBinding. When the code later sets the color to null, it does not restore the original binding. Because the binding has already been replaced, there’s no reason to expect the control to return to its initial theme‑based state.

  8. 4 remaining items

  9. added a commit that references this issue on Mar 24, 2026
  10. locked and limited conversation to collaborators on Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-controls-checkboxpartner/syncfusionplatform/iosplatform/macoss/triageds/verifiedt/bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions