Proposal: Provide a Card control or CardStyle in WinUI 3
See original GitHub issueProposal: Provide a Card Control or a CardStyle
Summary
Currently there are no card control or a card style that developers can readily use as defined here. We only have few styles like card stroke, card fill colour etc but not a complete style that also incorporate elevation of 8.
Rationale
- Allows developer to easily implement cards matching fluent design
Open Questions
Should there be a Card Control or a Card Style on a Border
?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:19
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Build XAML controls with C# - Windows apps
This article walks you through creating a XAML templated control for WinUI 3 with C#.
Read more >Telerik Web Forms RadPageLayout Grid Types - Documentation
The RadPageLayout control has three available types of Grid Based Layout that specify ... <telerik:LayoutColumn Span="3"> <div class="card" style="height: ...
Read more >Windows Controls and patterns - Windows app development
The articles in this section provide design guidance and coding instructions for adding controls & patterns to your Windows app.
Read more >TextBlock - Schema Explorer
Displays text, allowing control over font sizes, weight, and color. Property, Type, Required, Description, Version. type, "TextBlock", Yes, Must be ...
Read more >Is it possible to fully customize ProgressBar colors in WinUI ...
I am working on a theme in WinUI 3, and customizing colors for many different controls. For the Infobar control I managed to...
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 FreeTop 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
Top GitHub Comments
A custom Card control is really great implemented in the PowerToys app, but it needed some further improvements (Setting, SettingExpander, e.g.): https://github.com/microsoft/PowerToys/tree/main/src/settings-ui/Settings.UI/Controls
It would be great if Card control is implemented in WinUI, because there are already a few things to adjust for the content.
Basically adding these property values and styles to a grid/stackpanel-like content presenter actually does the job;