Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Fix text color usage for different visual states when using a button with character spacing #15296

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -144,6 +144,7 @@ void OnElementPropertyChanged(object sender, PropertyChangedEventArgs e)
else if (e.PropertyName == Button.ImageSourceProperty.PropertyName)
_ = UpdateImageAsync();
else if (e.PropertyName == Button.TextProperty.PropertyName ||
e.PropertyName == Button.TextColorProperty.PropertyName ||
e.PropertyName == Button.TextTransformProperty.PropertyName ||
e.PropertyName == Button.CharacterSpacingProperty.PropertyName)
UpdateText();
Expand Down