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                
#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                

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 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.

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 531 5/31/2023
2.0.6 355 2/23/2023
2.0.5 282 2/1/2023
2.0.4 299 1/12/2023
2.0.3 323 1/11/2023
2.0.2 307 1/10/2023
2.0.1 324 1/10/2023 2.0.1 is deprecated because it is no longer maintained.

details adjustments Add Subtract Key