Table of Contents

Struct TextInputEventArgs

Namespace
Microsoft.Xna.Framework
Assembly
MonoGame.Framework.dll

This class is used in the TextInput event as EventArgs.

public struct TextInputEventArgs
Inherited Members

Constructors

TextInputEventArgs(char, Keys)

Creates an instance of TextInputEventArgs.

public TextInputEventArgs(char character, Keys key = Keys.None)

Parameters

character char

Character for the key that was pressed.

key Keys

The pressed key.

Fields

Character

The character for the key that was pressed.

public readonly char Character

Field Value

char

Key

The pressed key.

public readonly Keys Key

Field Value

Keys