Skip to content

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

Open
SafuanA wants to merge 1 commit into
MaterialDesignInXAML:masterfrom
SafuanA:Issue1631
Open

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

Conversation

@SafuanA

@SafuanA SafuanA commented Jun 23, 2026

Copy link
Copy Markdown

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.

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

1 participant