Share via


AccessibilityRecord.BeforeTextFormatted Property

Definition

Gets the text before a change. -or- Sets the text before a change.

public virtual Java.Lang.ICharSequence? BeforeTextFormatted { [Android.Runtime.Register("getBeforeText", "()Ljava/lang/CharSequence;", "GetGetBeforeTextHandler")] get; [Android.Runtime.Register("setBeforeText", "(Ljava/lang/CharSequence;)V", "GetSetBeforeText_Ljava_lang_CharSequence_Handler")] set; }
[<get: Android.Runtime.Register("getBeforeText", "()Ljava/lang/CharSequence;", "GetGetBeforeTextHandler")>]
[<set: Android.Runtime.Register("setBeforeText", "(Ljava/lang/CharSequence;)V", "GetSetBeforeText_Ljava_lang_CharSequence_Handler")>]
member this.BeforeTextFormatted : Java.Lang.ICharSequence with get, set

Property Value

The text before the change.

Attributes

Exceptions

If called from an AccessibilityService.

Remarks

Property getter documentation:

Gets the text before a change.

Java documentation for android.view.accessibility.AccessibilityRecord.getBeforeText().

Property setter documentation:

Sets the text before a change.

Java documentation for android.view.accessibility.AccessibilityRecord.setBeforeText(java.lang.CharSequence).

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