MrHuo.PolyMenu.Wpf
1.0.23.915
dotnet add package MrHuo.PolyMenu.Wpf --version 1.0.23.915
NuGet\Install-Package MrHuo.PolyMenu.Wpf -Version 1.0.23.915
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="MrHuo.PolyMenu.Wpf" Version="1.0.23.915" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MrHuo.PolyMenu.Wpf --version 1.0.23.915
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MrHuo.PolyMenu.Wpf, 1.0.23.915"
#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.
// Install MrHuo.PolyMenu.Wpf as a Cake Addin #addin nuget:?package=MrHuo.PolyMenu.Wpf&version=1.0.23.915 // Install MrHuo.PolyMenu.Wpf as a Cake Tool #tool nuget:?package=MrHuo.PolyMenu.Wpf&version=1.0.23.915
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
多边形菜单组件(PolygonMenu)
包含 winform 和 wpf 两种多边形组件,可以通过简单的配置,很方便的生成多边形菜单。
winform 版基于 .net framework 2.0 开发,可以方便的引入到各个版本的项目中。
wpf 版基于 .net framework 3.5 开发,可以方便的引入到各个版本的项目中。
相关介绍文章
Winform 版使用说明
- 引入
release/MrHuo.PolyMenu.dll
或使用 nuget 安装包MrHuo.PolyMenu
- 将
MrHuo.PolyMenu.dll
引入到工具箱,然后拖到界面上。或用代码创建多边形菜单,如下:
var polygonMenu = new MrHuo.PolyMenu.PolygonMenu()
{
Width = 800,
HasCenterHole = true,
PolygonGapSize = 20,
SideNum = 6
};
this.Controls.Add(polygonMenu);
Wpf 版使用说明
- 引入
release/MrHuo.PolyMenu.Wpf.dll
或使用 nuget 安装包MrHuo.PolyMenu.Wpf
- 在
Window
中引入名称空间,如下:
<Window x:Class="PolyMenuWpfDemo.MainWindow"
...
xmlns:c="clr-namespace:MrHuo.PolyMenu.Wpf;assembly=MrHuo.PolyMenu.Wpf">
...
</Window>
<c:PolygonMenu SideNum="6" Background="DarkOrange" />
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net35 is compatible. net40 was computed. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 3.5
- NuGet.Build.Tasks.Pack (>= 5.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.23.915 | 156 | 9/16/2023 |