Mine.Wpf.Controls
0.1.3
dotnet add package Mine.Wpf.Controls --version 0.1.3
NuGet\Install-Package Mine.Wpf.Controls -Version 0.1.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Mine.Wpf.Controls" Version="0.1.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Mine.Wpf.Controls" Version="0.1.3" />
<PackageReference Include="Mine.Wpf.Controls" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Mine.Wpf.Controls --version 0.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Mine.Wpf.Controls, 0.1.3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Mine.Wpf.Controls@0.1.3
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Mine.Wpf.Controls&version=0.1.3
#tool nuget:?package=Mine.Wpf.Controls&version=0.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Mine.Wpf.Controls
一个基于 Material Design 3 (MD3) 设计规范打造的 WPF 控件库,提供主题系统、动画与丰富的现代化控件集合。
特性
- 遵循 Material Design 3 的色彩、形状、排版与状态层规范
- 内置浅色 / 深色主题与动态取色(Dynamic Color)支持
- 覆盖常用交互控件:按钮、命令栏(CommandBar)、菜单栏(MenuBar)、菜单弹出(MenuFlyout)、导航视图(NavigationView)、日期/时间选择器、抽屉(Drawer)、底部/侧边表单(BottomSheet / SideSheet)等
- 纯 WPF 实现,无第三方运行时依赖
安装
dotnet add package Mine.Wpf.Controls
快速开始
在 App.xaml 中合并主题资源字典:
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/Mine.Wpf.Controls;component/Themes/Generic.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
然后即可在 XAML 中使用控件:
<Window xmlns:mine="https://schemas.mine.io/wpf">
<mine:CommandBar>
<mine:CommandBar.PrimaryCommands>
<mine:AppBarButton Label="新建"/>
</mine:CommandBar.PrimaryCommands>
</mine:CommandBar>
</Window>
更多示例请参考仓库中的 samples/Mine.Wpf.Controls.Gallery 项目。
许可证
本项目基于 LICENSE 开源协议发布。
仓库地址
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-windows10.0.19041 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0-windows10.0.19041
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.