C# Класс WinCompose.Key

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Equals ( object o ) : bool
FromKeySym ( string keysym ) : Key

A dictionary of keysyms and the corresponding Key object

GetHashCode ( ) : int

Hash key by returning its printable representation’s hashcode or, if unavailable, its virtual key code’s hashcode.

IsModifier ( ) : bool

Return whether a key is a modifier (shift, ctrl, alt)

IsPrintable ( ) : bool
IsUsable ( ) : bool

Return whether a key is usable in a compose sequence

Key ( VK vk ) : System
Key ( string str ) : System
ToString ( ) : string

Serialize key to a printable string we can parse back into a Key object

operator ( ) : bool

Приватные методы

Метод Описание
GetKeyNames ( ) : string>.Dictionary

Описание методов

Equals() публичный Метод

public Equals ( object o ) : bool
o object
Результат bool

FromKeySym() публичный статический Метод

A dictionary of keysyms and the corresponding Key object
public static FromKeySym ( string keysym ) : Key
keysym string
Результат Key

GetHashCode() публичный Метод

Hash key by returning its printable representation’s hashcode or, if unavailable, its virtual key code’s hashcode.
public GetHashCode ( ) : int
Результат int

IsModifier() публичный Метод

Return whether a key is a modifier (shift, ctrl, alt)
public IsModifier ( ) : bool
Результат bool

IsPrintable() публичный Метод

public IsPrintable ( ) : bool
Результат bool

IsUsable() публичный Метод

Return whether a key is usable in a compose sequence
public IsUsable ( ) : bool
Результат bool

Key() публичный Метод

public Key ( VK vk ) : System
vk VK
Результат System

Key() публичный Метод

public Key ( string str ) : System
str string
Результат System

ToString() публичный Метод

Serialize key to a printable string we can parse back into a Key object
public ToString ( ) : string
Результат string

operator() публичный статический Метод

public static operator ( ) : bool
Результат bool