Vixen
dd8b0a81
csharp
public sealed class SubmitEvent

A field was finished with: Enter, in a field where Enter is not a line break.

Read the guide page for this →

Remarks

The routed half of Submitted, and what makes that moment reachable from markup at all. on: subscribes routed events, so a .vxml could hear a field's keystrokes and its focus and not the one keystroke a form is about; every panel that wanted it held a ref and wired the C# event by hand.

⚠ The control decides, which is the whole reason this is not a filtered on:keydown. Enter in a TextArea inserts a line break and submits nothing, Ctrl-Enter in one submits, and a NumericInput has already reformatted what it holds by the time this is raised. A handler reconstructing those rules from a key event would be a second copy of them, disagreeing with the first as soon as either moved.

Used by (3)

  • ControlMarkupVixen.Ui.Controls
  • MarkupTestsVixen.Ui.Controls.Tests
  • TextFieldVixen.Ui.Controls