Hs.KeyBoard.WPF 2.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package Hs.KeyBoard.WPF --version 2.0.4
NuGet\Install-Package Hs.KeyBoard.WPF -Version 2.0.4
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.4" />
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.4
#r "nuget: Hs.KeyBoard.WPF, 2.0.4"
#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.4

// Install Hs.KeyBoard.WPF as a Cake Tool
#tool nuget:?package=Hs.KeyBoard.WPF&version=2.0.4

Blog:

https://www.cnblogs.com/Hdsome/p/17039906.html

Description:

1、Support Events支持执行前台事件EnterEvent="NumericKeyboardBehavior_EnterEvent"
2、Support Command支持命令绑定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 netcore3.1,net5.0,net6.0,net7.0

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
2.0.7 345 5/31/2023
2.0.6 319 2/23/2023
2.0.5 260 2/1/2023
2.0.4 272 1/12/2023
2.0.3 295 1/11/2023
2.0.2 278 1/10/2023
2.0.1 302 1/10/2023