ITransformationMethodExtensions.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.
Forwards a focus-change notification using a string source.
public static void OnFocusChanged(this Android.Text.Method.ITransformationMethod self, Android.Views.View? view, string? sourceText, bool focused, Android.Views.FocusSearchDirection direction, Android.Graphics.Rect? previouslyFocusedRect);
static member OnFocusChanged : Android.Text.Method.ITransformationMethod * Android.Views.View * string * bool * Android.Views.FocusSearchDirection * Android.Graphics.Rect -> unit
Parameters
The transformation method to invoke.
- view
- View
The view whose focus changed.
- sourceText
- String
The untransformed text in the view.
- focused
- Boolean
true if the view has focus; otherwise, false.
- direction
- FocusSearchDirection
The direction of focus movement, when applicable.
- previouslyFocusedRect
- Rect
The previous focused view's bounds in this view's coordinates, or null when unavailable.
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.