TextLine.Collapse Method (TextCollapsingProperties[])


Create a collapsed line based on collapsed text properties.

Namespace:   System.Windows.Media.TextFormatting
Assembly:  PresentationCore (in PresentationCore.dll)

public abstract TextLine Collapse(
	params TextCollapsingProperties[] collapsingPropertiesList


Type: System.Windows.Media.TextFormatting.TextCollapsingProperties[]

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

Return Value

Type: System.Windows.Media.TextFormatting.TextLine

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

.NET Framework
Available since 3.0
Return to top