Windows Dev Center

The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TextLine.Collapse Method

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft