TagSelectorWPF 1.0.0
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Core 3.1
This package targets .NET Core 3.1. The package is compatible with this framework or higher.
.NET Framework 4.6.2
This package targets .NET Framework 4.6.2. The package is compatible with this framework or higher.
dotnet add package TagSelectorWPF --version 1.0.0
NuGet\Install-Package TagSelectorWPF -Version 1.0.0
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="TagSelectorWPF" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TagSelectorWPF" Version="1.0.0" />
<PackageReference Include="TagSelectorWPF" />
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 TagSelectorWPF --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TagSelectorWPF, 1.0.0"
#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 TagSelectorWPF@1.0.0
#: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=TagSelectorWPF&version=1.0.0
#tool nuget:?package=TagSelectorWPF&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
TagSelectorWPF [标签选择器]
Function
- Support for bindings and attributes
- A list of candidate sources: Source - ObserverableCollection<string>
- Preset or get result list: Result - ObserverableCollectio<string>
- Enter text return to generate labels
- Whether to allow input: AllowInput - bool
- Tip words when no input is entered: Tip - string
- Whether to allow content other than candidate words to generate labels: AllowCustom - bool
- Auto Associative Completion: AutoComplete - bool
- Accepts external theme resources
- Label and button background colours: SystemColors.ControlBrushKey
- Close symbol and prompt word colours: SystemColors.ControlTextBrushKey
功能
- 支持绑定和属性
- 候选源列表: Source - ObserverableCollection<string>
- 预设或获取结果列表: Result - ObserverableCollectio<string>
- 输入文字回车生成标签
- 是否允许输入:AllowInput - bool
- 未输入时提示词: Tip - string
- 是否允许候选词以外的内容生成标签:AllowCustom - bool
- 自动联想补全: AutoComplete - bool
- 接受外部主题资源
- 标签和按钮背景色: SystemColors.ControlBrushKey
- 关闭符号和提示词颜色: SystemColors.ControlTextBrushKey
Example
xaml:
xmlns:tsc="clr-namespace:TagSelectorWPF;assembly=TagSelectorWPF"
<tsc:TagSelector Source="{Binding SourceList}" Result="{Binding ResultList}"
Tip="Press Enter to add Tag" AllowInput="True" AllowCustom="True" AutoComplete="True"/>
ViewModel:
public ObservableCollection<string> SourceList { get; set; } = new ObservableCollection<string>()
{
"data1","data2","data3","data4"
};
public ObservableCollection<string> ResultList { get; set; } = new ObservableCollection<string>()
{
"data1","dataCustom"
};
public void GetResult()
{
MessageBox.Show(string.Join(",", ResultList));
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net6.0-windows7.0 is compatible. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
.NET Core | netcoreapp3.1 is compatible. |
.NET Framework | net462 is compatible. 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.
-
.NETCoreApp 3.1
- No dependencies.
-
.NETFramework 4.6.2
- No dependencies.
-
net6.0-windows7.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.
Version | Downloads | Last Updated |
---|---|---|
1.0.0 | 156 | 3/27/2024 |