UIElement.GettingFocus UIElement.GettingFocus UIElement.GettingFocus UIElement.GettingFocus Event

Definition

Occurs before a UIElement receives focus.

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

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

// Revoke with event_revoker
GettingFocus_revoker GettingFocus(auto_revoker_t, TypedEventHandler<UIElement, GettingFocusEventArgs> const& handler) const;
public event TypedEventHandler GettingFocus<UIElement, GettingFocusEventArgs>
Public Event TypedEventHandler GettingFocus(Of UIElement, GettingFocusEventArgs)
<uiElement GettingFocus="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