MyAvaloniaManagement.Icons
3.4.1
dotnet add package MyAvaloniaManagement.Icons --version 3.4.1
NuGet\Install-Package MyAvaloniaManagement.Icons -Version 3.4.1
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="MyAvaloniaManagement.Icons" Version="3.4.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MyAvaloniaManagement.Icons" Version="3.4.1" />
<PackageReference Include="MyAvaloniaManagement.Icons" />
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 MyAvaloniaManagement.Icons --version 3.4.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MyAvaloniaManagement.Icons, 3.4.1"
#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 MyAvaloniaManagement.Icons@3.4.1
#: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=MyAvaloniaManagement.Icons&version=3.4.1
#tool nuget:?package=MyAvaloniaManagement.Icons&version=3.4.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MyAvaloniaManagement.Icons
公共单色矢量资源包,统一发布版本 3.4.1,目标 .NET 10;没有 Avalonia、SDK、Host 或 DI 依赖。
var asset = CommonIcons.Table;
// 在自己的 UI 中使用 asset.PathData、ViewBoxWidth、ViewBoxHeight,按 EvenOdd 填充。
资源均使用 20×20 逻辑画布,名称与属性如下:
| 属性 | 名称 |
|---|---|
| Module | builtin:module |
| Folder | builtin:folder |
| Table | builtin:table |
| Chart | builtin:chart |
| TextCheck | builtin:text-check |
| Image | builtin:image |
| Video | builtin:video |
| Download | builtin:download |
CommonIcons.All 为完整只读目录。资源延续本仓 V6 手写基础几何,采用仓库 MIT 许可证,不含第三方图片、字体或远程资源。
搭配 UI SDK 3.4.0,可将公共图形声明为插件自己的图标:
var asset = CommonIcons.Table;
var reference = registration.AddIcon("review",
new VectorIconDefinition(asset.PathData, asset.ViewBoxWidth, asset.ViewBoxHeight));
// 将 reference 赋给 DocumentDescriptor 的 iconPath。
直接使用 asset.Key 跟随 Host 的公共资源版本;注册为专属引用则使用本插件交付的图形。
本包没有全局注册表。资源对象不跨 Host/插件契约传递,复制基础字段即可。
更新包后需要重新构建并交付引用它的程序,不会自动更新已安装程序中的 DLL。
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.