EleCho.GlobalHotkey.Windows.Wpf
1.0.1.2
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package EleCho.GlobalHotkey.Windows.Wpf --version 1.0.1.2
NuGet\Install-Package EleCho.GlobalHotkey.Windows.Wpf -Version 1.0.1.2
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="EleCho.GlobalHotkey.Windows.Wpf" Version="1.0.1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EleCho.GlobalHotkey.Windows.Wpf --version 1.0.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EleCho.GlobalHotkey.Windows.Wpf, 1.0.1.2"
#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 EleCho.GlobalHotkey.Windows.Wpf as a Cake Addin #addin nuget:?package=EleCho.GlobalHotkey.Windows.Wpf&version=1.0.1.2 // Install EleCho.GlobalHotkey.Windows.Wpf as a Cake Tool #tool nuget:?package=EleCho.GlobalHotkey.Windows.Wpf&version=1.0.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Windows implementation of EleCho.GlobalHotkey and WPF helper
Using namespace in your XAML file
<Window x:Class="TestWpf.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:TestWpf" xmlns:hotkey="clr-namespace:EleCho.GlobalHotkey.Windows.Wpf;assembly=EleCho.GlobalHotkey.Windows.Wpf" </Window>
Add
hotkey:GlobalHotkey.IsRegistered="True"
onKeyBinding
.<Window x:Class="TestWpf.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:TestWpf" xmlns:hotkey="clr-namespace:EleCho.GlobalHotkey.Windows.Wpf;assembly=EleCho.GlobalHotkey.Windows.Wpf" <Window.InputBindings> <KeyBinding Modifiers="Ctrl+Shift" Key="P" Command="{Binding TestCommand}" hotkey:GlobalHotkey.IsRegistered="True"/> </Window.InputBindings> </Window>
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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0-windows7.0
- EleCho.GlobalHotkey.Windows (>= 1.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on EleCho.GlobalHotkey.Windows.Wpf:
Repository | Stars |
---|---|
SlimeNull/OpenGptChat
An OpenAI Chat completion Client. 一个 OpenAI 聊天 Completion 客户端.
|