AccessibilityNodeInfo.AccessibilityAction.ActionFocus Property
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.
Action that gives input focus to the node.
[Android.Runtime.Register("ACTION_FOCUS")]
public static Android.Views.Accessibility.AccessibilityNodeInfo.AccessibilityAction ActionFocus { get; }
[<Android.Runtime.Register("ACTION_FOCUS")>]
static member ActionFocus : Android.Views.Accessibility.AccessibilityNodeInfo.AccessibilityAction
Property Value
- Attributes
Remarks
Action that gives input focus to the node.
The focus request send an event of AccessibilityEvent.TYPE_VIEW_FOCUSED if successful. In the View system, this is handled by View.requestFocus.
The node that is focused should return true for AccessibilityNodeInfo.isFocused(). See ACTION_ACCESSIBILITY_FOCUS for the difference between system and accessibility 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.