The InputBox type exposes the following members.

Constructors

  NameDescription
Public methodInputBox
Luo uuden InputBoxin.

Methods

  NameDescription
Public methodInitializeComponent
InitializeComponent
Protected methodOnGotFocus
Antaa focuksen inputTextBoxille.
(Overrides FrameworkElement..::..OnGotFocus(RoutedEventArgs).)
Protected methodOnTypingStarted
Lähettää TypingStarted-tapahtuman annetuilla argumenteilla.
Protected methodOnWordTyped
Lähettää WordTyped-tapahtuman annetuilla argumenteilla.
Public methodReset
Tyhjentää tekstikentän sisällön. Seuraava merkin lisäys laukaisee taas TypingStarted-tapahtuman.

Fields

  NameDescription
Public fieldStatic memberSendKeys
Näppäimet, joilla teksti lähetetään.

Events

  NameDescription
Public eventTypingStarted
Kirjoitus alkoi. Tapahtuu, kun ensimmäinen merkki kirjoitetaan pelin alkamisen jälkeen.
Public eventWordTyped
Tekstikenttään kirjoitettu sana päätetään. Tapahtuman argumentit sisältää kirjoitetun sanan.

See Also