C# Class PsHandler.KeyCombination

Afficher le fichier Open project: kampiuceris/PsHandler Class Usage Examples

Méthodes publiques

Свойство Type Description
Alt bool
CommandName string
Ctrl bool
Shift bool

Méthodes publiques

Méthode Description
Equals ( KeyCombination kc ) : bool
KeyCombination ( Key selectedKey ) : System
KeyCombination ( Key selectedKey, bool ctrl, bool alt, bool shift ) : System
KeyCombination ( Key selectedKey, bool ctrl, bool alt, bool shift, string commandName ) : System
OnKeyCombinationPressed ( EventArgs e ) : void
OnKeyCombinationReleased ( EventArgs e ) : void
Parse ( string text ) : KeyCombination
Set ( Key selectedKey, bool ctrl, bool alt, bool shift ) : void
SetModifiers ( bool ctrl, bool alt, bool shift ) : void
ToString ( ) : string

Method Details

Equals() public méthode

public Equals ( KeyCombination kc ) : bool
kc KeyCombination
Résultat bool

KeyCombination() public méthode

public KeyCombination ( Key selectedKey ) : System
selectedKey Key
Résultat System

KeyCombination() public méthode

public KeyCombination ( Key selectedKey, bool ctrl, bool alt, bool shift ) : System
selectedKey Key
ctrl bool
alt bool
shift bool
Résultat System

KeyCombination() public méthode

public KeyCombination ( Key selectedKey, bool ctrl, bool alt, bool shift, string commandName ) : System
selectedKey Key
ctrl bool
alt bool
shift bool
commandName string
Résultat System

OnKeyCombinationPressed() public méthode

public OnKeyCombinationPressed ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnKeyCombinationReleased() public méthode

public OnKeyCombinationReleased ( EventArgs e ) : void
e System.EventArgs
Résultat void

Parse() public static méthode

public static Parse ( string text ) : KeyCombination
text string
Résultat KeyCombination

Set() public méthode

public Set ( Key selectedKey, bool ctrl, bool alt, bool shift ) : void
selectedKey Key
ctrl bool
alt bool
shift bool
Résultat void

SetModifiers() public méthode

public SetModifiers ( bool ctrl, bool alt, bool shift ) : void
ctrl bool
alt bool
shift bool
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

Alt public_oe property

public bool Alt
Résultat bool

CommandName public_oe property

public string CommandName
Résultat string

Ctrl public_oe property

public bool Ctrl
Résultat bool

Shift public_oe property

public bool Shift
Résultat bool