Wpf8.0.CityPicker.Controls
1.0.1
dotnet add package Wpf8.0.CityPicker.Controls --version 1.0.1
NuGet\Install-Package Wpf8.0.CityPicker.Controls -Version 1.0.1
<PackageReference Include="Wpf8.0.CityPicker.Controls" Version="1.0.1" />
<PackageVersion Include="Wpf8.0.CityPicker.Controls" Version="1.0.1" />
<PackageReference Include="Wpf8.0.CityPicker.Controls" />
paket add Wpf8.0.CityPicker.Controls --version 1.0.1
#r "nuget: Wpf8.0.CityPicker.Controls, 1.0.1"
#:package Wpf8.0.CityPicker.Controls@1.0.1
#addin nuget:?package=Wpf8.0.CityPicker.Controls&version=1.0.1
#tool nuget:?package=Wpf8.0.CityPicker.Controls&version=1.0.1
Address in the mainland of China (applicable to areas other than Hong Kong, Macao, and Taiwan) 除港澳台外的国内地址选择器
仅适用于Avalonia
Getting started 用法:
1、 项目通过NuGet安装 Newtonsoft.Json
2、 在.axml文件中添加引用
<Window ...
xmlns:d=...
xmlns:mc=.....
x:Class=.....
xmlns:cp="using:Wpf.CityPicker"
....>
3、在正文中使用:
...
<cp:Address Name="myUserControl" HinText="国内省市区镇" Width="300" Background="Red" Foreground="#FFFFFF" LevelCount="2" QBackground="Yellow" BtnWidth="100" Height="30" ></cp:Address>
...
地址选择前显示信息:
HinText:选择省市前的提示说明文字
Width:整个选择结果的宽度,过小会自动换行显示
Background:背景颜色
Height:高度
Foreground:前景文字色
弹出菜单效果设置
LevelCount:级数,当前有省/城市/区/街道/村镇共五级,
如只要省会,设置1,如需要全部区域,设置5
QBackground:弹出框的背景色
严禁用于非法用途
有其他需要,请联系,网址:https://www.ziyu2018.com 电话:15502040125
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-windows7.0 is compatible. net9.0-windows was computed. net10.0-windows was computed. |
-
net8.0-windows7.0
- Newtonsoft.Json (>= 13.0.4)
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 |
|---|