Skip to main content

TextProperty Field

Dependency property backing Text.

Definition

Namespace: Avalonia.Controls.Documents
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public static readonly StyledProperty<string?> TextProperty
View Source

Field Value

StyledProperty(String)

Remarks

Note that when a TextRange that intersects with this Run gets modified (e.g. by editing a selection in RichTextBox), we will get two changes to this property since we delete and then insert when setting the content of a TextRange.

See Also

Reference

Run Class
Avalonia.Controls.Documents Namespace