ITransformationMethod.OnFocusChanged 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.
This method is called when the TextView that uses this TransformationMethod gains or loses focus.
[Android.Runtime.Register("onFocusChanged", "(Landroid/view/View;Ljava/lang/CharSequence;ZILandroid/graphics/Rect;)V", "GetOnFocusChanged_Landroid_view_View_Ljava_lang_CharSequence_ZILandroid_graphics_Rect_Handler:Android.Text.Method.ITransformationMethodInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnFocusChanged (Android.Views.View? view, Java.Lang.ICharSequence? sourceText, bool focused, Android.Views.FocusSearchDirection direction, Android.Graphics.Rect? previouslyFocusedRect);
[<Android.Runtime.Register("onFocusChanged", "(Landroid/view/View;Ljava/lang/CharSequence;ZILandroid/graphics/Rect;)V", "GetOnFocusChanged_Landroid_view_View_Ljava_lang_CharSequence_ZILandroid_graphics_Rect_Handler:Android.Text.Method.ITransformationMethodInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnFocusChanged : Android.Views.View * Java.Lang.ICharSequence * bool * Android.Views.FocusSearchDirection * Android.Graphics.Rect -> unit
Parameters
- view
- View
- sourceText
- ICharSequence
- focused
- Boolean
- direction
- FocusSearchDirection
- previouslyFocusedRect
- Rect
- Attributes
Remarks
This method is called when the TextView that uses this TransformationMethod gains or loses focus.
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.