TextModifier Class

TextModifier Class

 

Represents a specialized text run that can be used to modify properties of text runs within its scope.

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

System.Object
  System.Windows.Media.TextFormatting.TextRun
    System.Windows.Media.TextFormatting.TextModifier

public abstract class TextModifier : TextRun

NameDescription
System_CAPS_protmethodTextModifier()

Initializes a new instance of the TextModifier class.

NameDescription
System_CAPS_pubpropertyCharacterBufferReference

Gets the CharacterBufferReference for the TextModifier.(Overrides TextRun.CharacterBufferReference.)

System_CAPS_pubpropertyFlowDirection

Gets the FlowDirection for the TextModifier.

System_CAPS_pubpropertyHasDirectionalEmbedding

Gets a value that indicates whether the TextModifier supports FlowDirection for the current scope of text.

System_CAPS_pubpropertyLength

Gets the number of characters in the text run.(Inherited from TextRun.)

System_CAPS_pubpropertyProperties

Gets the set of text properties that are shared by every character in the text run, such as typeface or foreground brush.(Inherited from TextRun.)

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_pubmethodModifyProperties(TextRunProperties)

Retrieves the TextRunProperties for a text run.

System_CAPS_pubmethodToString()

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

The scope of the TextModifier extends to the next matching TextEndOfSegment text run, or to the next TextEndOfParagraph. Note that TextModifier objects can be nested.

.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:
© 2016 Microsoft