Teng.KeyBorad 1.0.0

dotnet add package Teng.KeyBorad --version 1.0.0
                    
NuGet\Install-Package Teng.KeyBorad -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="Teng.KeyBorad" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Teng.KeyBorad" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Teng.KeyBorad" />
                    
Project file
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 Teng.KeyBorad --version 1.0.0
                    
#r "nuget: Teng.KeyBorad, 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 Teng.KeyBorad@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=Teng.KeyBorad&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Teng.KeyBorad&version=1.0.0
                    
Install as a Cake Tool

Teng.KeyBorad

KeyboardBehavior 全键盘

xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" 
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
xmlns:keyboard ="clr-namespace:Teng.KeyBorad;assembly=Teng.KeyBorad"
<materialDesign:DialogHost Identifier="InputHost">
    <TextBox Height="35">
        <i:Interaction.Behaviors>
        <keyboard:KeyboardBehavior />
        </i:Interaction.Behaviors>
    </TextBox>
 </materialDesign:DialogHost>

Identifier 属性

Identifier 默认为 InputHost

<materialDesign:DialogHost Identifier="<自定义值>">
    <TextBox Height="35">
        <i:Interaction.Behaviors>
        <keyboard:KeyboardBehavior Identifier="<自定义值>"/>
        </i:Interaction.Behaviors>
    </TextBox>
 </materialDesign:DialogHost>

Property 属性

<materialDesign:DialogHost Identifier="InputHost">
    <TextBox Height="35">
        <i:Interaction.Behaviors>
        <keyboard:KeyboardBehavior Property="<名称>"/>
        </i:Interaction.Behaviors>
    </TextBox>
 </materialDesign:DialogHost>

alternate text is missing from this package README image

NumberKeyboardBehavior 数字键盘

xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" 
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
xmlns:keyboard ="clr-namespace:Teng.KeyBorad;assembly=Teng.KeyBorad"
<materialDesign:DialogHost Identifier="InputHost">
    <TextBox Height="35">
        <i:Interaction.Behaviors>
        <keyboard:NumberKeyboardBehavior />
        </i:Interaction.Behaviors>
    </TextBox>
 </materialDesign:DialogHost>

alternate text is missing from this package README image

Version log

https://github.com/Denuin/Teng.KeyBorad

Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed.  net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows 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
1.0.0 190 12/30/2024

屏幕键盘