TextParagraphProperties Class

 

Provides a set of properties, such as flow direction, alignment, or indentation, that can be applied to a paragraph. This is an abstract class.

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

System.Object
  System.Windows.Media.TextFormatting.TextParagraphProperties

public abstract class TextParagraphProperties

NameDescription
System_CAPS_protmethodTextParagraphProperties()

Initializes a new instance of the TextParagraphProperties class.

NameDescription
System_CAPS_pubpropertyAlwaysCollapsible

Gets a value that indicates whether a formatted line can always be collapsed.

System_CAPS_pubpropertyDefaultIncrementalTab

Gets the default incremental tab distance.

System_CAPS_pubpropertyDefaultTextRunProperties

Gets the default text run properties, such as typeface or foreground brush.

System_CAPS_pubpropertyFirstLineInParagraph

Gets a value that indicates whether the text run is the first line of the paragraph.

System_CAPS_pubpropertyFlowDirection

Gets a value that specifies whether the primary text advance direction shall be left-to-right, or right-to-left.

System_CAPS_pubpropertyIndent

Gets the amount of line indentation.

System_CAPS_pubpropertyLineHeight

Gets the height of a line of text.

System_CAPS_pubpropertyParagraphIndent

Gets the amount of the paragraph indentation.

System_CAPS_pubpropertyTabs

Gets a collection of tab definitions.

System_CAPS_pubpropertyTextAlignment

Gets a value that describes how an inline content of a block is aligned.

System_CAPS_pubpropertyTextDecorations

Gets the collection of TextDecoration objects.

System_CAPS_pubpropertyTextMarkerProperties

Gets a value that specifies marker characteristics of the first line in the paragraph.

System_CAPS_pubpropertyTextWrapping

Gets a value that controls whether text wraps when it reaches the flow edge of its containing block box.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

To create a text layout application that uses the services of the TextFormatter object, you must create a derived class that implements the methods of the TextParagraphProperties abstract class.

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: