Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    TextInputEvent Class

    Namespace: Stride.Input
    Assembly: Stride.Input.dll

    Input event used for text input and IME related events

    System.Object → InputEvent → TextInputEvent
    Derived from TextInputEvent:

    public class TextInputEvent : InputEvent, IInputEventArgs
    Name Description
    Fields
    CompositionLength

    Length of the current part of the composition being edited

    CompositionStart

    Start of the current composition being edited

    Text

    The text that was entered

    Type

    The type of text input event

    Methods
    ToString()
    | Improve this Doc View Source

    Fields


    CompositionLength

    Length of the current part of the composition being edited

    public int CompositionLength
    Field Value
    Type Description
    System.Int32

    CompositionStart

    Start of the current composition being edited

    public int CompositionStart
    Field Value
    Type Description
    System.Int32

    Text

    The text that was entered

    public string Text
    Field Value
    Type Description
    System.String

    Type

    The type of text input event

    public TextInputEventType Type
    Field Value
    Type Description
    TextInputEventType
    | Improve this Doc View Source

    Methods


    ToString()

    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    Inherited Members

    InputEvent.Device

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation