Method OnHasFocusChanged
OnHasFocusChanged(bool, View?, View?)
Invoked after HasFocus has changed. This method is called before the HasFocusChanged event is raised.
protected virtual void OnHasFocusChanged(bool newHasFocus, View? previousFocusedView, View? focusedView)
Parameters
newHasFocus
boolThe new value of HasFocus.
previousFocusedView
ViewfocusedView
ViewThe view that is now focused. May be null
Remarks
This event cannot be cancelled.