UIElement.LosingFocus UIElement.LosingFocus UIElement.LosingFocus UIElement.LosingFocus Event

Definition

Occurs before a UIElement loses focus.

public : event TypedEventHandler<UIElement, LosingFocusEventArgs> LosingFocus
// Register
event_token LosingFocus(TypedEventHandler<UIElement, LosingFocusEventArgs> const& handler) const;

// Revoke with event_token
void LosingFocus(event_token const& cookie) const;

// Revoke with event_revoker
LosingFocus_revoker LosingFocus(auto_revoke_t, TypedEventHandler<UIElement, LosingFocusEventArgs> const& handler) const;
public event TypedEventHandler<UIElement, LosingFocusEventArgs> LosingFocus
Public Event LosingFocus As TypedEventHandler (Of UIElement, LosingFocusEventArgs)
<uiElement LosingFocus="eventhandler"/>

Remarks

FocusNavigationDirection.Previous and FocusNavigationDirection.Next cannot be used with FindNextElementOptions. Only FocusNavigationDirection.Up, FocusNavigationDirection.Down, FocusNavigationDirection.Left, or FocusNavigationDirection.Right are valid.

See Also