LosingFocusEventArgs LosingFocusEventArgs LosingFocusEventArgs LosingFocusEventArgs Class

Definition

Provides data for the LosingFocus event.

public : sealed class LosingFocusEventArgs : RoutedEventArgs, ILosingFocusEventArgspublic sealed class LosingFocusEventArgs : RoutedEventArgs, ILosingFocusEventArgsPublic NotInheritable Class LosingFocusEventArgs Inherits RoutedEventArgs Implements ILosingFocusEventArgs// This API is not available in Javascript.
Inheritance
LosingFocusEventArgsLosingFocusEventArgsLosingFocusEventArgsLosingFocusEventArgs
Attributes
Windows 10 requirements
Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Inherited Members

Inherited properties

Properties

Cancel Cancel Cancel Cancel

Gets or sets whether focus navigation should be canceled.

public : PlatForm::Boolean Cancel { get; set; }public bool Cancel { get; set; }Public ReadWrite Property Cancel As bool// This API is not available in Javascript.
Value
PlatForm::Boolean bool bool bool

true if focus navigation should be canceled. Otherwise, false.

Direction Direction Direction Direction

Gets the direction that focus moved from element to element within the app UI.

public : FocusNavigationDirection Direction { get; }public FocusNavigationDirection Direction { get; }Public ReadOnly Property Direction As FocusNavigationDirection// This API is not available in Javascript.

FocusState FocusState FocusState FocusState

Gets the input mode through which an element obtained focus.

public : FocusState FocusState { get; }public FocusState FocusState { get; }Public ReadOnly Property FocusState As FocusState// This API is not available in Javascript.
Value
FocusState FocusState FocusState FocusState

How the element obtained focus.

Handled Handled Handled Handled

Gets or sets a value that marks the routed event as handled. A true value for Handled prevents most handlers along the event route from handling the same event again.

public : PlatForm::Boolean Handled { get; set; }public bool Handled { get; set; }Public ReadWrite Property Handled As bool// This API is not available in Javascript.
Value
PlatForm::Boolean bool bool bool

true to mark the routed event handled. false to leave the routed event unhandled, which permits the event to potentially route further and be acted on by other handlers. The default is false.

See Also

InputDevice InputDevice InputDevice InputDevice

Gets the input device type from which input events are received.

public : FocusInputDeviceKind InputDevice { get; }public FocusInputDeviceKind InputDevice { get; }Public ReadOnly Property InputDevice As FocusInputDeviceKind// This API is not available in Javascript.

NewFocusedElement NewFocusedElement NewFocusedElement NewFocusedElement

Gets the most recent focused object.

public : DependencyObject NewFocusedElement { get; set; }public DependencyObject NewFocusedElement { get; set; }Public ReadWrite Property NewFocusedElement As DependencyObject// This API is not available in Javascript.
Value
DependencyObject DependencyObject DependencyObject DependencyObject

The most recent focused object.

OldFocusedElement OldFocusedElement OldFocusedElement OldFocusedElement

Gets the last focused object.

public : DependencyObject OldFocusedElement { get; }public DependencyObject OldFocusedElement { get; }Public ReadOnly Property OldFocusedElement As DependencyObject// This API is not available in Javascript.