docs-maui
docs-maui copied to clipboard
Changing a theme at runtime requires the use of XAML/C# styles, and is not possible using CSS.
Type of issue
Missing information
Description
There's a slight misinformation on this page.
Changing a theme at runtime requires the use of XAML styles, and is not possible using CSS.
Changing a theme at runtime requires the use of XAML/C# style definition, and is not possible using CSS.
C# is not mentioned. This info is necessary for those migrating from non-XAML frameworks.
Page URL
https://learn.microsoft.com/en-us/dotnet/maui/user-interface/theming?view=net-maui-8.0
Content source URL
https://github.com/dotnet/docs-maui/blob/main/docs/user-interface/theming.md
Document Version Independent Id
04d29bb3-0ea9-e42a-d6d2-cf338baca362
Article author
@davidbritch
Metadata
- ID: 04d29bb3-0ea9-e42a-d6d2-cf338baca362
- Service: dotnet-mobile
- Sub-service: dotnet-maui