[]
        
(Showing Draft Content)

FarPoint.Win.Spread.Keystroke.-ctor

Keystroke Constructor

Keystroke(SerializationInfo, StreamingContext)

Creates a new keystroke from serialization.

Declaration
public Keystroke(SerializationInfo info, StreamingContext context)
Public Sub New(info As SerializationInfo, context As StreamingContext)
Parameters
Type Name Description
SerializationInfo info

Object that holds the serialized object data

StreamingContext context

Contexual information about the source of the serialization

Keystroke(char)

Creates a new keystroke with the specified character.

Declaration
public Keystroke(char keyChar)
Public Sub New(keyChar As Char)
Parameters
Type Name Description
char keyChar

Character defined by this keystroke

Keystroke(Keys, Keys)

Creates a new keystroke with a specified a key code and modifier keys.

Declaration
public Keystroke(Keys keyCode, Keys modifiers)
Public Sub New(keyCode As Keys, modifiers As Keys)
Parameters
Type Name Description
Keys keyCode

Key code defined by this keystroke

Keys modifiers

Modifier keys defined by this keystroke

Keystroke(Keys, Keys, bool)

Creates a new keystroke with a specified a key code, modifier keys, and whether the keystroke is active on key release.

Declaration
public Keystroke(Keys keyCode, Keys modifiers, bool onKeyRelease)
Public Sub New(keyCode As Keys, modifiers As Keys, onKeyRelease As Boolean)
Parameters
Type Name Description
Keys keyCode

Key code defined by this keystroke

Keys modifiers

Modifier keys defined by this keystroke

bool onKeyRelease

Whether the keystroke is active on key release