Redigera

Dela via


KeyInterop Class

Definition

Provides static methods to convert between Win32 Virtual-Keys and the WPF Key enumeration.

public ref class KeyInterop abstract sealed
public static class KeyInterop
type KeyInterop = class
Public Class KeyInterop
Inheritance
KeyInterop

Methods

KeyFromVirtualKey(Int32)

Converts a Win32 Virtual-Key into WPF Key.

VirtualKeyFromKey(Key)

Converts a WPF Key into a Win32 Virtual-Key.

Applies to