[Enhancement] Rework the WinUI control to NOT use custom control templates
See original GitHub issueSummary
WinUI currently has custom control templates for several controls. This was to add support for missing features with UWP.
Since WinUI was implemented all the features that were added with newer versions of Windows reaches the latests packages.
This issue is to switch to using the various ResourceDictionary keys instead.
Using this method, we get all the new styles and any Windows 11 themes.
API Changes
No code changes, mainly stop using MauiButton
and use Button
with resource keys.
Intended Use Case
Provide a detailed example of where your proposal would be used and for what purpose.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Build XAML controls with C++/WinRT - Windows apps
This article walks you through creating a templated XAML control for WinUI 3 with C++/WinRT. Templated controls inherit from Microsoft.UI.
Read more >Override control template of custom control that uses ...
Hi, I'm working with a custom theme, and all customization had worked fine until now that I have tried something diferent.
Read more >Building a custom UWP control with XAML and the ...
In this article we'll build a custom UWP control that will be drawn partly by the XAML engine and partly by the Composition...
Read more >Templated Control vs Custom Control in UWP. No clear ...
The templated control will create a copy from the ControlTemplate while ... project and they're not meant for reuse, then use UserControls ....
Read more >dotnet new templates for Uno Platform
This template can be used to create a multi-platform application for iOS, Android, WebAssembly, Mac Catalyst, Linux, and Win32 Desktop which uses the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I am the boss of you bot! 😎 No closey!
We’ve moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.