After upgrading my MAUI application to .NET 9 and installing Telerik.UI.for.Maui 8.0, RadListPicker doesn't respect app theme when it's set to dark mode.
It was working with .Net 8 and Telerik.UI.for.Maui 7.0
- Click on Select an item (RadListPicker doesn't respect dark theme)
Lance | Senior Manager Technical Support
Telerik team
commented on 10 Dec 2024, 06:24 PM
Hi Jerome,
The major version update to Telerik UI for Maui 8.0.0 requires some additional steps for styling and appearance because we introduced a new theming mechanism. Please follow the directions in Theming Support - Telerik UI for .NET MAUI article.
Once that is finished, do a full Clean and Rebuild of the project and let us know if you are still having the issue.
P.S. This might also be responsible for some other behavior you are seeing, so I would recommend retesting any other items, too.
I''ve been able to setup the new app theming mechanism but when I access a ContentPage that holds a RadDataGrid, I took more than 30 seconds to show up (compared to 2 seconds before). After the page finally shows up, the overall behavior is extremely laggy.
In my debugguer output windows, I see many warning stacking up, related to the following :
[0:] Microsoft.Maui.Controls.Element: Warning: Microsoft.Maui.Controls.SolidColorBrush is already a child of Telerik.Maui.Controls.RadBorder. Remove Microsoft.Maui.Controls.SolidColorBrush from Telerik.Maui.Controls.RadBorder before adding to Telerik.Maui.Controls.RadBorder.
This is not acceptable with that kind of performance issue
In addition, here is a repro project : GitHub
- Start the app
- Go to Options
- Click on Select an item (RadListPicker doesn't respect dark theme)
Hi Jerome,
The major version update to Telerik UI for Maui 8.0.0 requires some additional steps for styling and appearance because we introduced a new theming mechanism. Please follow the directions in Theming Support - Telerik UI for .NET MAUI article.
Once that is finished, do a full Clean and Rebuild of the project and let us know if you are still having the issue.
P.S. This might also be responsible for some other behavior you are seeing, so I would recommend retesting any other items, too.
Hi Lance,
I''ve been able to setup the new app theming mechanism but when I access a ContentPage that holds a RadDataGrid, I took more than 30 seconds to show up (compared to 2 seconds before). After the page finally shows up, the overall behavior is extremely laggy.
In my debugguer output windows, I see many warning stacking up, related to the following :
This is not acceptable with that kind of performance issue
Also, all .cs files related to app theming mechanism should start with // <autogenerated />
Current files are adding more than a thousand warnings in my app...
Hi Jerome,
Note that the theming is released as a preview version. We are aware of performance issues on Android platform and we will have them in mind.
Build the app in a release mode and test the performance.