TextView.Text Property

Definition

Return the text that TextView is displaying. If setText(CharSequence) was called with an argument of BufferType.SPANNABLE or BufferType.EDITABLE , you can cast the return value from this method to Spannable or Editable, respectively. The content of the return value should not be modified. If you want a modifiable one, you should make your own copy first. The content of the return value should not be modified. If you want a modifiable one, you should make your own copy first. Related XML Attributes:

public string? Text { get; set; }
member this.Text : string with get, set

Property Value

The text displayed by the text view.

Remarks

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