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()
Provides event arguments for when the end user invokes a key tip by typing its text.
public KeyTipInvokedEventArgs()
Properties
CanRestoreFocus
Indicates whether to restore keyboard focus to the main focus scope after the event.
public bool CanRestoreFocus { get; set; }
Property Value
- bool:
trueif keyboard focus should be restored to the main focus scope after the event; otherwise,false. The default value isfalse.
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
The target key tip scope, if any, that should become active.
public UIElement? TargetScope { get; set; }
Property Value
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
- EventArgs.Empty
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()