In This Article

KeyTipInvokedEventArgs Class

Provides event arguments for when the end user invokes a key tip by typing its text.

public class KeyTipInvokedEventArgs : RoutedEventArgs
Inheritance:
object EventArgs RoutedEventArgs object

Constructors

KeyTipInvokedEventArgs()

Initializes a new instance of the KeyTipInvokedEventArgs class.

public KeyTipInvokedEventArgs()

Properties

CanRestoreFocus

Whether to restore keyboard focus to the main focus scope after the event.

public bool CanRestoreFocus { get; set; }

Property Value

bool:

The default value is false.

Remarks

This property is only used when not transitioning to a new TargetScope, since it is assumed key tip mode is completed when there is no new scope specified.

PopScopeAction

The action to execute if the TargetScope is eventually popped via an 'Esc' keypress.

public Action? PopScopeAction { get; set; }

Property Value

Action

Remarks

This property can optionally be set when TargetScope is set.

TargetScope

Target key tip scope, if any, that should become active.

public InputElement? TargetScope { get; set; }

Property Value

InputElement

Remarks

This property should only be filled in when a new key tip scope should be entered. If a control such as a button processes the key tip invoke event as a click and key tip mode should be stopped, leave this property as null.

Inherited Members

Extension Methods