A set of custom controls for the WinUI and the Uno Platform not offered out of the box by WinUI, such as Card, TabBar, NavigationBar, etc.
Перейти к файлу
Agnès Zitte b5ca4121e0 fix: Move Card to Toolkit 2021-11-24 19:38:30 -05:00
.dependabot Initial commit 2021-04-21 14:39:16 -04:00
.github ci: Enable azure static webapps PR validation for Uno.UI.Toolkit (#60) 2021-09-08 18:21:33 -04:00
build ci: Add build logs 2021-11-12 19:58:53 -05:00
docs/controls refactor: Unify Uno.Toolkit.UI.Controls namespace 2021-11-24 16:40:00 -05:00
samples fix: Move Card to Toolkit 2021-11-24 19:38:30 -05:00
src fix: Move Card to Toolkit 2021-11-24 19:38:30 -05:00
.editorconfig chore: Upgrade C# to 9.0 throughout the solution 2021-11-11 15:13:53 -05:00
.gitignore Initial commit 2021-04-21 14:39:16 -04:00
.mergify.yml Initial commit 2021-04-21 14:39:16 -04:00
CODE_OF_CONDUCT.md Initial commit 2021-04-21 14:39:16 -04:00
LICENSE.md Update License to MIT 2021-11-24 14:04:03 -05:00
README.md fix: Move Card to Toolkit 2021-11-24 19:38:30 -05:00
SECURITY.md Initial commit 2021-04-21 14:39:16 -04:00
gitversion.yml initial sources 2021-04-21 15:55:18 -04:00

README.md

Uno.Toolkit

A set of custom controls for the UWP, WinUI and the Uno Platform not offered out of the box by WinUI, such as Card for example.

Material Styles for custom controls

Controls StyleNames
Card MaterialOutlinedCardStyle
MaterialElevatedCardStyle
MaterialAvatarOutlinedCardStyle
MaterialAvatarElevatedCardStyle
MaterialSmallMediaOutlinedCardStyle
MaterialSmallMediaElevatedCardStyle

Start using the styles in your pages!

To use styles, just find the name of the style from our documentation or sample app and use it like this:

Here is how to use our custom controls like a Card

xmlns:utu="using:Uno.Toolkit.UI.Controls"

[...]

<material:Card Header="Outlined card"
	      SubHeader="With title and subitle"
	      Style="{StaticResource MaterialOutlinedCardStyle}" />