csharp
public sealed class TextInputEventText the platform decided the user typed.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Separate from KeyEvent because it is a different thing that happens to come from the same hardware. A key press is a position; this is what the layout, the dead keys and the input method between them produced — one event may carry several characters, and a great many key presses carry none.
A String rather than a char, because an emoji is a surrogate pair and a composed sequence is longer still. A control that switched on a single character would work for everyone who tested it and break for everyone who did not.
Fields and properties (2)
public string TextWhat was typed.
public TimeSpan TimestampWhen, on the same clock as the rest.
Used by (10)
- AdvancedFixtureVixen.Ui.Controls.Advanced.Tests
- CodeEditorVixen.Ui.Controls.Advanced
- ControlVixen.Ui.Controls
- ControlFixtureVixen.Ui.Controls.Tests
- InteractionTestsVixen.Ui.Testing.Tests
- KeyboardTestsVixen.Ui.Tests
- PlatformInputVixen.Platform.Ui
- TextFieldVixen.Ui.Controls
- UiDocumentVixen.Ui
- UiTestVixen.Ui.Testing