Language

SliceItem.Text Property

Definition

Gets the text as a string from an item whose format is FormatText.

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

Property Value

The string representation of the item's text, or null if the stored text is null.

Remarks

This .NET property converts TextFormatted to a string. Use TextFormatted to access the character sequence and its spans.

Android reference for SliceItem.getText.

.NET binding generator for string properties.

Applies to