Table of Contents

Class ShortcutInfo

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Contains information about the shortcut.

public class ShortcutInfo : BaseObject, IBaseObject
Inheritance
ShortcutInfo
Implements

Constructors

ShortcutInfo()

Initializes a new instance of the ShortcutInfo class.

ShortcutInfo(KeyGesture?)

Initializes a new instance of the ShortcutInfo class.

ShortcutInfo(KeyInfo[]?)

Initializes a new instance of the ShortcutInfo class.

ShortcutInfo(Keys)

Initializes a new instance of the ShortcutInfo class.

Properties

KeyGesture

Gets or sets a value indicating the associated shortcut key.

KeyInfo

Gets or sets a value indicating the associated shortcut key.

Keys

Gets or sets the associated shortcut keys.

Methods

GetFirstPlatformSpecificKey()

Retrieves the first platform-specific key, if available.

GetPlatformSpecificKeys()

Retrieves platform-specific key information based on the current operating system.

ToString(FormatOptions)

Converts the object to its string representation based on the specified formatting options.

Operators

implicit operator ShortcutInfo?(KeyGesture?)

Implicit conversion operator from KeyGesture to ShortcutInfo.

implicit operator ShortcutInfo?(KeyInfo[]?)

Implicit conversion operator from KeyInfo array to ShortcutInfo.

implicit operator ShortcutInfo?(Keys)

Implicit conversion operator from Keys to ShortcutInfo.

implicit operator KeyGesture?(ShortcutInfo?)

Implicit conversion operator from ShortcutInfo to KeyGesture.

implicit operator KeyInfo[]?(ShortcutInfo?)

Implicit conversion operator from ShortcutInfo to KeyInfo array.

implicit operator Keys(ShortcutInfo?)

Implicit conversion operator from ShortcutInfo to Keys.