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" />
<PackageReference Include="Teng.KeyBorad" />
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
#tool nuget:?package=Teng.KeyBorad&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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>
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>
Version log
| Product | Versions 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.
-
net6.0-windows7.0
- CommunityToolkit.Mvvm (>= 8.3.2)
- MaterialDesignThemes (>= 5.1.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.0)
- Microsoft.Xaml.Behaviors.Wpf (>= 1.1.135)
- NPinyin.Core (>= 3.0.0)
-
net8.0-windows7.0
- CommunityToolkit.Mvvm (>= 8.3.2)
- MaterialDesignThemes (>= 5.1.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.0)
- Microsoft.Xaml.Behaviors.Wpf (>= 1.1.135)
- NPinyin.Core (>= 3.0.0)
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 |
屏幕键盘