Windows apps
Collapse the table of content
Expand the table of content
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 (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
© 2017 Microsoft