AccessibilityNodeInfo.MaxTextLength 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.
Returns the maximum text length for this node. -or- Sets the maximum text length, or -1 for no limit.
public virtual int MaxTextLength { [Android.Runtime.Register("getMaxTextLength", "()I", "GetGetMaxTextLengthHandler")] get; [Android.Runtime.Register("setMaxTextLength", "(I)V", "GetSetMaxTextLength_IHandler")] set; }
[<get: Android.Runtime.Register("getMaxTextLength", "()I", "GetGetMaxTextLengthHandler")>]
[<set: Android.Runtime.Register("setMaxTextLength", "(I)V", "GetSetMaxTextLength_IHandler")>]
member this.MaxTextLength : int with get, set
Property Value
The maximum text length, or -1 for no limit.
- Attributes
Exceptions
If called from an AccessibilityService.
If called from an AccessibilityService.
Remarks
Property getter documentation:
Java documentation for android.view.accessibility.AccessibilityNodeInfo.getMaxTextLength().
Property setter documentation:
Java documentation for android.view.accessibility.AccessibilityNodeInfo.setMaxTextLength(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.