Skip to main content

Add(String) Method

Adds a text segment to the collection.

Remarks

For non-complex content this appends the text to the end of currently held text. For complex content this adds a Run to the collection.

Definition

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

public void Add(
string text
)

Parameters

  String
The to be added text.

See Also

Reference

InlineCollection Class
Add Overload
Avalonia.Controls.Documents Namespace