Läs på engelska

Dela via


ReplacementTransformationMethod.OnFocusChanged Method

Definition

Overloads

OnFocusChanged(View, ICharSequence, Boolean, FocusSearchDirection, Rect)

This method is called when the TextView that uses this TransformationMethod gains or loses focus.

OnFocusChanged(View, String, Boolean, FocusSearchDirection, Rect)

OnFocusChanged(View, ICharSequence, Boolean, FocusSearchDirection, Rect)

This method is called when the TextView that uses this TransformationMethod gains or loses focus.

C#
[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")]
public virtual void OnFocusChanged(Android.Views.View? view, Java.Lang.ICharSequence? sourceText, bool focused, Android.Views.FocusSearchDirection direction, Android.Graphics.Rect? previouslyFocusedRect);

Parameters

view
View
sourceText
ICharSequence
focused
Boolean
previouslyFocusedRect
Rect

Implements

Attributes

Remarks

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.

Applies to

.NET for Android .NET for Android API 35 och .NET for Android .NET for Android API 34
Produkt Versioner
.NET for Android .NET for Android API 34, .NET for Android API 35

OnFocusChanged(View, String, Boolean, FocusSearchDirection, Rect)

C#
public void OnFocusChanged(Android.Views.View? view, string? sourceText, bool focused, Android.Views.FocusSearchDirection direction, Android.Graphics.Rect? previouslyFocusedRect);

Parameters

view
View
sourceText
String
focused
Boolean
previouslyFocusedRect
Rect

Remarks

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.

Applies to

.NET for Android .NET for Android API 35 och .NET for Android .NET for Android API 34
Produkt Versioner
.NET for Android .NET for Android API 34, .NET for Android API 35