wpf Material Design 颜色和主题中的样式列表

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/49616284/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-13 14:10:12  来源:igfitidea点击:

List of styles in Material Design Colors and Themes

c#wpfxamlmaterial-design

提问by Rafal010101

I try to create my first c#/wpf/xalm project using Material Design Colors and Themes. I have some tutorial where are defined some styles e.g. for checkboxesare:

我尝试使用 Material Design 颜色和主题创建我的第一个 c#/wpf/xalm 项目。我有一些教程,其中定义了一些样式,例如checkboxes

Style="{StaticResource MaterialDesignActionDarkCheckBox}
Style="{StaticResource MaterialDesignActionLightCheckBox}
for Buttons Style="{StaticResource MaterialDesignFlatButton}"

etc.

等等。

My question is: where I can find list of all available styles in Material Design?

我的问题是:在哪里可以找到 Material Design 中所有可用样式的列表?

采纳答案by Andy

Assuming you mean this: http://materialdesigninxaml.net/

假设您的意思是:http: //materialdesigninxaml.net/

You can pull the source and take a look at it: https://github.com/ButchersBoy/MaterialDesignInXamlToolkit

可以拉取源码看看:https: //github.com/ButchersBoy/MaterialDesignInXamlToolkit

You can just take a look round on the site for a fair bit of what I should think you want.

你可以在网站上看看我认为你想要的东西。

https://github.com/ButchersBoy/MaterialDesignInXamlToolkit/tree/master/MaterialDesignColors.Wpf/Themes

https://github.com/ButchersBoy/MaterialDesignInXamlToolkit/tree/master/MaterialDesignColors.Wpf/Themes

回答by am9417

The complete list of all the available styles is in MDIX wiki, ordered by control. No need to browse the XAML source code by control:

所有可用样式的完整列表在 MDIX wiki 中,按控件排序。无需通过控件浏览 XAML 源代码:

https://github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit/wiki/ControlStyleList

https://github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit/wiki/ControlStyleList