TextRunProperties Class

 

Provides a set of properties, such as typeface or foreground brush, that can be applied to a TextRun object. This is an abstract class.

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

System.Object
  System.Windows.Media.TextFormatting.TextRunProperties

public abstract class TextRunProperties

NameDescription
System_CAPS_protmethodTextRunProperties()

Initializes a new instance of the TextRunProperties class.

NameDescription
System_CAPS_pubpropertyBackgroundBrush

Gets the brush that is used to paint the background color of the text run.

System_CAPS_pubpropertyBaselineAlignment

Gets the baseline style for a text that is positioned on the vertical axis.

System_CAPS_pubpropertyCultureInfo

Gets the culture information for the text run.

System_CAPS_pubpropertyFontHintingEmSize

Gets the text size in points, which is then used for font hinting.

System_CAPS_pubpropertyFontRenderingEmSize

Gets the text size in points for the text run.

System_CAPS_pubpropertyForegroundBrush

Gets the brush that is used to paint the foreground color of the text run.

System_CAPS_pubpropertyNumberSubstitution

Gets the number substitution settings, which determines who numbers in text are displayed in different cultures.

System_CAPS_pubpropertyPixelsPerDip

Get or sets the PixelsPerDip at which the text should be rendered.

System_CAPS_pubpropertyTextDecorations

Gets the collection of TextDecoration objects used for the text run.

System_CAPS_pubpropertyTextEffects

Gets the collection of TextEffect objects used for the text run.

System_CAPS_pubpropertyTypeface

Gets the typeface for the text run.

System_CAPS_pubpropertyTypographyProperties

Gets the typography properties for the text run.

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.)

The text layout client provides a concrete implementation of this abstract class. This enables the client to implement text run properties in a way that corresponds with the associated formatting store.

.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: