Skip to content

Conversation

@NanthiniMahalingam
Copy link
Contributor

Issue details

  • The checkbox's checked state color does not update when the IsEnabled property is changed dynamically.

Root cause:

  • The checkbox's checked state color does not update when the IsEnabled property is changed dynamically due to updated visual state IsChecked only in check box.

Description of Change

  • Ensured the IsChecked visual state updated for checkbox checked state and updated the check box visual state to Normal when IsEnabled property to true dynamically.

Issues Fixed

Fixes #23608

Validated the behaviour in the following platforms

  • Android
  • Windows
  • iOS
  • Mac

Output

Windows

Before After
Window_CheckBox_Before.mp4
Windows_CheckBox.mp4

Android

Before After
Android_CheckBox_Before.mov
Android_CheckBox.mov

iOS

Before After
iOS_CheckBox_Before.mov
iOS_CheckBox_AfterChanges.mp4

macOS

Before After
macOS_CheckBox_Before.mov
macOS_CheckBox.mov

@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Dec 5, 2024
@karthikraja-arumugam karthikraja-arumugam added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Dec 6, 2024
@rmarinho
Copy link
Member

rmarinho commented Dec 7, 2024

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@NanthiniMahalingam NanthiniMahalingam marked this pull request as ready for review December 12, 2024 06:56
@azure-pipelines

This comment was marked as outdated.

@StephaneDelcroix
Copy link
Contributor

/azp run

@dotnet dotnet deleted a comment from jfversluis Jan 10, 2025
@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@dotnet dotnet deleted a comment from azure-pipelines bot Jan 10, 2025
Copy link
Member

@PureWeen PureWeen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAC Screenshot needs updating

@NanthiniMahalingam
Copy link
Contributor Author

MAC Screenshot needs updating

I have included the macOS output screenshot. Could you please verify it?

@jsuarezruiz
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@jsuarezruiz
Copy link
Contributor

/rebase

@jsuarezruiz
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@jfversluis jfversluis added this to the .NET 9 SR5 milestone Feb 25, 2025
@jfversluis jfversluis dismissed PureWeen’s stale review February 25, 2025 11:40

Feedback addressed

@jfversluis jfversluis merged commit 02e2203 into dotnet:main Feb 25, 2025
124 checks passed
tj-devel709 pushed a commit that referenced this pull request Mar 3, 2025
* Fixed the IsEnabled property dynamic updating issue.

* Updated the fix and added the test case.

* Added the output images for android and iOS

* Updated the fix and test case.

* Added the output image.

* Updated the test case and output image

* Added color for check box

* Updated windows image.

* Added the macOS output image
@github-actions github-actions bot locked and limited conversation to collaborators Mar 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-controls-checkbox CheckBox community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

.Net Maui CheckBox enabled color is not updated properly.

7 participants