Hs.KeyBoard.WPF
2.0.7
dotnet add package Hs.KeyBoard.WPF --version 2.0.7
NuGet\Install-Package Hs.KeyBoard.WPF -Version 2.0.7
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="Hs.KeyBoard.WPF" Version="2.0.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Hs.KeyBoard.WPF --version 2.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Hs.KeyBoard.WPF, 2.0.7"
#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 Hs.KeyBoard.WPF as a Cake Addin
#addin nuget:?package=Hs.KeyBoard.WPF&version=2.0.7
// Install Hs.KeyBoard.WPF as a Cake Tool
#tool nuget:?package=Hs.KeyBoard.WPF&version=2.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Blog:
https://www.cnblogs.com/Hdsome/p/17039906.html
Description:
1、Support Event支持执行前台事件EnterEvent="NumericKeyboardBehavior_EnterEvent"
2、Support Command Bind支持命令绑定EnterCommand="{Binding CommandSearch}"
3、Support Custom Enter Text支持自定义回车文本EnterText="搜索"
4、Support Clear Text After Focused支持获取焦点清空输入框内容FocusedClearText="True"
5、Support Drag Keyboard Position支持可拖动键盘位置功能
6、Support Continue Show KeyBoard After Click Enter支持执行命令后键盘继续显示EnterCloseFlag="Flase"
7、Support Keyboard Synchronous Move Follow Window Drag支持窗口拖动键盘同步移动
8、Support TargetFrameworks net48;netcore3.1;net5.0;net6.0;net7.0
9、Support Add Text SelectAll 增加如未清除文本则默认全选文本内容
Usage:
1、Statement
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
xmlns:keyboard="clr-namespace:Hs.KeyBoard.WPF.Behavior;assembly=Hs.KeyBoard.WPF"
2、Call
<TextBox
Text="Number">
<i:Interaction.Behaviors>
<keyboard:NumericKeyboardBehavior EnterText="Search"/>
</i:Interaction.Behaviors>
</TextBox>
<TextBox
Text="Letter">
<i:Interaction.Behaviors>
<keyboard:KeyboardBehavior
EnterText="Search" />
</i:Interaction.Behaviors>
</TextBox>
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net5.0-windows7.0 is compatible. 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. |
.NET Core | netcoreapp3.1 is compatible. |
.NET Framework | net48 is compatible. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- Microsoft.Xaml.Behaviors.Wpf (>= 1.1.39)
-
.NETFramework 4.8
- Microsoft.Xaml.Behaviors.Wpf (>= 1.1.39)
-
net5.0-windows7.0
- Microsoft.Xaml.Behaviors.Wpf (>= 1.1.39)
-
net6.0-windows7.0
- Microsoft.Xaml.Behaviors.Wpf (>= 1.1.39)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
details adjustments Add Subtract Key