Android.Views.Accessibility.AccessibilityNodeInfo.MaxTextLength Property
Returns the maximum text length for this node.

Syntax

[get: Android.Runtime.Register("getMaxTextLength", "()I", "GetGetMaxTextLengthHandler")]
[set: Android.Runtime.Register("setMaxTextLength", "(I)V", "GetSetMaxTextLength_IHandler")]
public virtual int MaxTextLength { get; set; }

See Also

AccessibilityNodeInfo.MaxTextLength
AccessibilityNodeInfo.MaxTextLength

Value

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalStateExceptionIf called from an AccessibilityService.

Remarks

Get method documentation [Android Documentation]

Returns the maximum text length for this node.

Set method documentation [Android Documentation]

Sets the maximum text length, or -1 for no limit. Typically used to indicate that an editable text field has a limit on the number of characters entered. Note: Cannot be called from an Android.AccessibilityServices.AccessibilityService. This class is made immutable before being delivered to an AccessibilityService.

Requirements

Namespace: Android.Views.Accessibility
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14