KeyTipInvokedEventArgs Class
Provides event arguments for when the end user invokes a key tip by typing its text.
public class KeyTipInvokedEventArgs : RoutedEventArgs
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
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
- RoutedEventArgs.Handled
- RoutedEventArgs.RoutedEvent
- RoutedEventArgs.Route
- RoutedEventArgs.Source
- EventArgs.Empty
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()