EleCho.GlobalHotkey.Windows.Wpf
1.0.1.5
Prefix Reserved
dotnet add package EleCho.GlobalHotkey.Windows.Wpf --version 1.0.1.5
NuGet\Install-Package EleCho.GlobalHotkey.Windows.Wpf -Version 1.0.1.5
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.5" />
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.5
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.5"
#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.5
// Install EleCho.GlobalHotkey.Windows.Wpf as a Cake Tool
#tool nuget:?package=EleCho.GlobalHotkey.Windows.Wpf&version=1.0.1.5
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.
xmlns:hotkey="https://wpf.elecho.org/globalhotkey"
<Window x:Class="TestWpf.MainWindow" xmlns:hotkey="https://wpf.elecho.org/globalhotkey" ...> </Window>
Add
hotkey:GlobalHotkey.IsRegistered="True"
onKeyBinding
.<Window x:Class="TestWpf.MainWindow" xmlns:hotkey="https://wpf.elecho.org/globalhotkey" ...> <Window.InputBindings> <KeyBinding Modifiers="Ctrl+Shift" Key="P" Command="{Binding TestCommand}" hotkey:GlobalHotkey.IsRegistered="True"/> </Window.InputBindings> </Window>
You can add
hotkey:GlobalHotkey.IsRegisterSucceed
property to receive registration result.<Window x:Class="TestWpf.MainWindow" xmlns:hotkey="https://wpf.elecho.org/globalhotkey" ...> <Window.InputBindings> <KeyBinding Modifiers="Ctrl+Shift" Key="P" Command="{Binding TestCommand}" hotkey:GlobalHotkey.IsRegistered="True" hotkey:GlobalHotkey.IsRegisterSucceed="{Binding IsRegisterSucceed,Mode=OneWayToSource}"/> </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. |
.NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.6.2
- EleCho.GlobalHotkey.Windows (>= 1.0.2)
-
net6.0-windows7.0
- EleCho.GlobalHotkey.Windows (>= 1.0.2)
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. Support for the six major universal languages in the world and some other languages. Support for dark mode.
|