csharp
public sealed class AccessKeyEventAn access key was pressed and this element is what it names.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Raised on the element rather than acted on by the document, because what an access key does is the control's business: a button presses, a text field takes the focus and does nothing else, a tab selects itself. The document decides which element, which is the part no control can work out for itself.
⚠ It bubbles, like everything else. A panel that wants to hear its children's access keys — a menu closing after one of its items runs — listens without the item knowing.
Fields and properties (1)
public char KeyThe character that was pressed, upper-cased.
Used by (3)
- AccessKeyTestsVixen.Ui.Tests
- ButtonBaseVixen.Ui.Controls
- UiDocumentVixen.Ui