Skip to content

#1631: ColorPicker doesn't triger color Change event after color chan…#4075

Merged
Keboo merged 1 commit into
MaterialDesignInXAML:masterfrom
SafuanA:Issue1631
Jul 3, 2026
Merged

#1631: ColorPicker doesn't triger color Change event after color chan…#4075
Keboo merged 1 commit into
MaterialDesignInXAML:masterfrom
SafuanA:Issue1631

Conversation

@SafuanA

@SafuanA SafuanA commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Fix #1631: Raise ColorChanged event when ColorPicker color changes from UI

The ColorChanged routed event was not raised when the color was changed through the UI (for example via the HSB controls) because the ColorPropertyChangedCallback returned early while synchronizing the Color and Hsb dependency properties.

This change keeps the recursion guard for the Color/Hsb synchronization but ensures that the ColorChanged event is raised when the Color dependency property value actually changes.

Added a regression test covering UI-driven color changes.

@Keboo Keboo added this to the 5.3.3 milestone Jul 3, 2026
@Keboo Keboo enabled auto-merge (squash) July 3, 2026 03:31
@Keboo Keboo merged commit 2fb4a56 into MaterialDesignInXAML:master Jul 3, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ColorPicker doesn't triger color Change event after color change from UI

2 participants