// MonoGame - Copyright (C) The MonoGame Team // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. using System; using Microsoft.Xna.Framework.Input; namespace Microsoft.Xna.Framework { /// /// This class is used for the game window's TextInput event as EventArgs. /// public class TextInputEventArgs : EventArgs { char character; public TextInputEventArgs(char character, Keys key = Keys.None) { this.character = character; this.Key = key; } public char Character { get { return character; } } public Keys Key { get; private set; } } }