C# Class WinCompose.Key

Afficher le fichier Open project: samhocevar/wincompose Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
GetKeyNames ( ) : string>.Dictionary

Method Details

Equals() public méthode

public Equals ( object o ) : bool
o object
Résultat bool

FromKeySym() public static méthode

A dictionary of keysyms and the corresponding Key object
public static FromKeySym ( string keysym ) : Key
keysym string
Résultat Key

GetHashCode() public méthode

Hash key by returning its printable representation’s hashcode or, if unavailable, its virtual key code’s hashcode.
public GetHashCode ( ) : int
Résultat int

IsModifier() public méthode

Return whether a key is a modifier (shift, ctrl, alt)
public IsModifier ( ) : bool
Résultat bool

IsPrintable() public méthode

public IsPrintable ( ) : bool
Résultat bool

IsUsable() public méthode

Return whether a key is usable in a compose sequence
public IsUsable ( ) : bool
Résultat bool

Key() public méthode

public Key ( VK vk ) : System
vk VK
Résultat System

Key() public méthode

public Key ( string str ) : System
str string
Résultat System

ToString() public méthode

Serialize key to a printable string we can parse back into a Key object
public ToString ( ) : string
Résultat string

operator() public static méthode

public static operator ( ) : bool
Résultat bool