kitUIN.FluentIcon.WinUI.Regular
1.1.269
See the version list below for details.
dotnet add package kitUIN.FluentIcon.WinUI.Regular --version 1.1.269
NuGet\Install-Package kitUIN.FluentIcon.WinUI.Regular -Version 1.1.269
<PackageReference Include="kitUIN.FluentIcon.WinUI.Regular" Version="1.1.269" />
paket add kitUIN.FluentIcon.WinUI.Regular --version 1.1.269
#r "nuget: kitUIN.FluentIcon.WinUI.Regular, 1.1.269"
// Install kitUIN.FluentIcon.WinUI.Regular as a Cake Addin #addin nuget:?package=kitUIN.FluentIcon.WinUI.Regular&version=1.1.269 // Install kitUIN.FluentIcon.WinUI.Regular as a Cake Tool #tool nuget:?package=kitUIN.FluentIcon.WinUI.Regular&version=1.1.269
<div align="center">
FluentIcon
✨ 使用Windows App SDK 构建的FluentIcon控件 ✨
✨ Windows App SDK Fluent Icon Control ✨
</div>
<p align="center"> <a href="https://github.com/kitUIN/FluentIcon/blob/master/LICENSE"> <img src="https://img.shields.io/badge/license-MIT-green" alt="license"> </a> <a href="https://github.com/kitUIN/FluentIcon/releases"> <img src="https://img.shields.io/github/v/release/kitUIN/FluentIcon" alt="release"> </a> </p> <div align="center">
</div>
介绍📖
图标均来自于Fluentui-System-Icon
字体文件FluentSystemIcons-Regular.ttf (不必安装字体,nuget
包中自带)
字体文件FluentSystemIcons-Filled.ttf (不必安装字体,nuget
包中自带)
json2Symbol.py
文件为json
转Symbol
枚举
简单使用🛠️
请先安装nuget
包
在.csproj
中按如下修改
<ItemGroup>
- <PackageReference Include="kitUIN.FluentIcon.WinUI.Filled" Version="1.2.224.2" />
+ <PackageReference Include="kitUIN.FluentIcon.WinUI.Filled" Version="1.2.224.2" GeneratePathProperty="true" />
- <PackageReference Include="kitUIN.FluentIcon.WinUI.Regular" Version="1.2.224.2" />
+ <PackageReference Include="kitUIN.FluentIcon.WinUI.Regular" Version="1.2.224.2" GeneratePathProperty="true" />
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.4.231008000" />
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.756" />
<PackageReference Include="ShadowViewer.Plugin.Local" Version="1.0.3" />
</ItemGroup>
+ <Target Name="CopyPackageFiles" BeforeTargets="Build">
+ <Copy SourceFiles="$(PkgkitUIN_FluentIcon_WinUI_Regular)\lib\net6.0-windows10.0.19041\kitUIN.FluentIcon.WinUI.Regular\Assets\FluentSystemIcons-Regular.ttf" DestinationFolder="Assets\" />
+ <Copy SourceFiles="$(PkgkitUIN_FluentIcon_WinUI_Filled)\lib\net6.0-windows10.0.19041\kitUIN.FluentIcon.WinUI.Filled\Assets\FluentSystemIcons-Filled.ttf" DestinationFolder="Assets\" />
+ </Target>
在需要使用的Xaml
文件的顶部添加
xmlns:icons="using:FluentIcon.WinUI"
随后使用
<icons:FluentRegularIcon Symbol="" />
<icons:FluentFilledIcon Symbol="" />
选择你需要的图标,填入Symbol
中
如何选择图标🖼️
安装Character-Map-UWP,将字体文件拖入,进行挑选
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-windows10.0.19041 is compatible. net7.0-windows was computed. net8.0-windows was computed. net9.0-windows was computed. |
-
net6.0-windows10.0.19041
- Microsoft.Windows.SDK.BuildTools (>= 10.0.22621.755)
- Microsoft.WindowsAppSDK (>= 1.3.230602002)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on kitUIN.FluentIcon.WinUI.Regular:
Package | Downloads |
---|---|
ShadowViewer.Controls.PluginLogo
✨ PluginLogo | ShadowViewer.Controls✨ |
GitHub repositories
This package is not used by any popular GitHub repositories.