AccessibilityNodeInfo.AccessibilityAction.ActionSetText 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 sets the text of the node.
[Android.Runtime.Register("ACTION_SET_TEXT")]
public static Android.Views.Accessibility.AccessibilityNodeInfo.AccessibilityAction ActionSetText { get; }
[<Android.Runtime.Register("ACTION_SET_TEXT")>]
static member ActionSetText : Android.Views.Accessibility.AccessibilityNodeInfo.AccessibilityAction
Property Value
- Attributes
Remarks
Action that sets the text of the node. Performing the action without argument, using null or empty CharSequence will clear the text. This action will also put the cursor at the end of text.
The UI element that implements this should send a AccessibilityEvent.TYPE_VIEW_TEXT_CHANGED event if its text is updated. This element should also return true for AccessibilityNodeInfo.isEditable().
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.