Skip to main content

Collapse Method

Create a collapsed line based on collapsed text properties.

Definition​

Namespace: Avalonia.Media.TextFormatting
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public abstract TextLine Collapse(
params TextCollapsingProperties?[] collapsingPropertiesList
)
View Source

Parameters​

  TextCollapsingProperties[]
A list of TextCollapsingProperties objects that represent the collapsed text properties.

Return Value​

TextLine
A TextLine value that represents a collapsed line that can be displayed.

See Also​

Reference​

TextLine Class
Avalonia.Media.TextFormatting Namespace