EleCho.GlobalHotkey.Windows.Wpf 1.0.1.4

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package EleCho.GlobalHotkey.Windows.Wpf --version 1.0.1.4                
NuGet\Install-Package EleCho.GlobalHotkey.Windows.Wpf -Version 1.0.1.4                
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.4" />                
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.4                
#r "nuget: EleCho.GlobalHotkey.Windows.Wpf, 1.0.1.4"                
#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.4

// Install EleCho.GlobalHotkey.Windows.Wpf as a Cake Tool
#tool nuget:?package=EleCho.GlobalHotkey.Windows.Wpf&version=1.0.1.4                

Windows implementation of EleCho.GlobalHotkey and WPF helper

  1. Using namespace in your XAML file. xmlns:hotkey="https://wpf.elecho.org/globalhotkey"

    <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="https://wpf.elecho.org/globalhotkey"
    
    </Window>
    
  2. Add hotkey:GlobalHotkey.IsRegistered="True" on KeyBinding.

    <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="https://wpf.elecho.org/globalhotkey"
    
        <Window.InputBindings>
            <KeyBinding Modifiers="Ctrl+Shift" Key="P" Command="{Binding TestCommand}"
                        hotkey:GlobalHotkey.IsRegistered="True"/>
        </Window.InputBindings>
    
    </Window>
    
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. 
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 (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 客户端.
Version Downloads Last updated
1.0.1.5 433 9/27/2023
1.0.1.4 456 3/29/2023
1.0.1.3 316 3/29/2023
1.0.1.2 196 3/29/2023
1.0.1.1 239 3/27/2023
1.0.1 237 3/25/2023 1.0.1 is deprecated because it has critical bugs.