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
newHasFocusboolThe new value of HasFocus.
previousFocusedViewViewfocusedViewViewThe view that is now focused. May be null
Remarks
This event cannot be cancelled.