TextLine.Collapse Method (TextCollapsingProperties[])


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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