View.IOnFocusChangeListener.OnFocusChange(View, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when the focus state of a view has changed.
[Android.Runtime.Register("onFocusChange", "(Landroid/view/View;Z)V", "GetOnFocusChange_Landroid_view_View_ZHandler:Android.Views.View/IOnFocusChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnFocusChange (Android.Views.View? v, bool hasFocus);
[<Android.Runtime.Register("onFocusChange", "(Landroid/view/View;Z)V", "GetOnFocusChange_Landroid_view_View_ZHandler:Android.Views.View/IOnFocusChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnFocusChange : Android.Views.View * bool -> unit
Parameters
- v
- View
The view whose state has changed.
- hasFocus
- Boolean
The new focus state of v.
- Attributes
Remarks
Called when the focus state of a view has changed.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.