Table of Contents

Class KeyCodeExtensions

Namespace
Terminal.Gui.Drivers
Assembly
Terminal.Gui.dll

Extension methods for the KeyCode enum type.

public static class KeyCodeExtensions
Inheritance
KeyCodeExtensions
Inherited Members

Methods

AsInt32(KeyCode)

Directly converts this KeyCode value to an int value with the same binary representation.

AsUInt32(KeyCode)

Directly converts this KeyCode value to a uint value with the same binary representation.

FastHasFlags(KeyCode, uint)

Determines if the specified mask bits are set in the current value of this KeyCode.

FastHasFlags(KeyCode, KeyCode)

Determines if the specified flags are set in the current value of this KeyCode.

FastIsDefined(KeyCode, int)

Determines if the specified int value is explicitly defined as a named value of the KeyCode enum type.