View.AddFocusables 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.
Overloads
AddFocusables(IList<View>, FocusSearchDirection) |
Add any focusable views that are descendants of this view (possibly including this view if it is focusable itself) to views. |
AddFocusables(IList<View>, FocusSearchDirection, FocusablesFlags) |
Adds any focusable views that are descendants of this view (possibly including this view if it is focusable itself) to views. |
AddFocusables(IList<View>, FocusSearchDirection)
Add any focusable views that are descendants of this view (possibly including this view if it is focusable itself) to views.
[Android.Runtime.Register("addFocusables", "(Ljava/util/ArrayList;I)V", "GetAddFocusables_Ljava_util_ArrayList_IHandler")]
public virtual void AddFocusables (System.Collections.Generic.IList<Android.Views.View>? views, Android.Views.FocusSearchDirection direction);
[<Android.Runtime.Register("addFocusables", "(Ljava/util/ArrayList;I)V", "GetAddFocusables_Ljava_util_ArrayList_IHandler")>]
abstract member AddFocusables : System.Collections.Generic.IList<Android.Views.View> * Android.Views.FocusSearchDirection -> unit
override this.AddFocusables : System.Collections.Generic.IList<Android.Views.View> * Android.Views.FocusSearchDirection -> unit
Parameters
- direction
- FocusSearchDirection
The direction of the focus
- Attributes
Remarks
Add any focusable views that are descendants of this view (possibly including this view if it is focusable itself) to views. If we are in touch mode, only add views that are also focusable in touch mode.
Java documentation for android.view.View.addFocusables(java.util.ArrayList<android.view.View>, 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
AddFocusables(IList<View>, FocusSearchDirection, FocusablesFlags)
Adds any focusable views that are descendants of this view (possibly including this view if it is focusable itself) to views.
[Android.Runtime.Register("addFocusables", "(Ljava/util/ArrayList;II)V", "GetAddFocusables_Ljava_util_ArrayList_IIHandler")]
public virtual void AddFocusables (System.Collections.Generic.IList<Android.Views.View>? views, Android.Views.FocusSearchDirection direction, Android.Views.FocusablesFlags focusableMode);
[<Android.Runtime.Register("addFocusables", "(Ljava/util/ArrayList;II)V", "GetAddFocusables_Ljava_util_ArrayList_IIHandler")>]
abstract member AddFocusables : System.Collections.Generic.IList<Android.Views.View> * Android.Views.FocusSearchDirection * Android.Views.FocusablesFlags -> unit
override this.AddFocusables : System.Collections.Generic.IList<Android.Views.View> * Android.Views.FocusSearchDirection * Android.Views.FocusablesFlags -> unit
Parameters
Focusable views found so far or null if all we are interested is the number of focusables.
- direction
- FocusSearchDirection
The direction of the focus.
- focusableMode
- FocusablesFlags
The type of focusables to be added.
- Attributes
Remarks
Adds any focusable views that are descendants of this view (possibly including this view if it is focusable itself) to views. This method adds all focusable views regardless if we are in touch mode or only views focusable in touch mode if we are in touch mode or only views that can take accessibility focus if accessibility is enabled depending on the focusable mode parameter.
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.