Läs på engelska

Dela via


View.GetFocusables(FocusSearchDirection) Method

Definition

Find and return all focusable views that are descendants of this view, possibly including this view if it is focusable itself.

C#
[Android.Runtime.Register("getFocusables", "(I)Ljava/util/ArrayList;", "GetGetFocusables_IHandler")]
public virtual System.Collections.Generic.IList<Android.Views.View>? GetFocusables (Android.Views.FocusSearchDirection direction);

Parameters

direction
FocusSearchDirection

The direction of the focus

Returns

A list of focusable views

Attributes

Remarks

Find and return all focusable views that are descendants of this view, possibly including this view if it is focusable itself.

Java documentation for android.view.View.getFocusables(int).

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

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