TextProperty Field
Dependency property backing Text.
Definition
Namespace: Avalonia.Controls.Documents
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public static readonly StyledProperty<string?> TextProperty
Public Shared ReadOnly TextProperty As StyledProperty(Of String)
static val TextProperty: StyledProperty<string>
Field Value
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.