maui
maui copied to clipboard
[Windows/Android] Fix RadioButton TextTransform Property not working
[!NOTE] Are you waiting for the changes in this PR to be merged? It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Issue Details:
The TextTransform property was not handled for the RadioButton control on Android and Windows platforms.
Description of Change
Handled the TextTransform logic in the MapContent method for both Android and Windows platforms. The content text is now transformed using the TextTransformUtilities.GetTransformedText() method and assigned to the native RadioButton control.
Issues Fixed
Fixes #29729
Tested the behavior in the following platforms.
- [x] Android
- [x] Windows
- [x] iOS
- [x] Mac
Output Screenshot
| Before | After |
|---|---|
| Windows |
Windows |
| Android |
Android |
/azp run MAUI-UITests-public
Azure Pipelines successfully started running 1 pipeline(s).
/azp run MAUI-UITests-public
Azure Pipelines successfully started running 1 pipeline(s).
/rebase
/azp run
Azure Pipelines successfully started running 3 pipeline(s).
/azp run MAUI-UITests-public
Azure Pipelines successfully started running 1 pipeline(s).