TextSimpleMarkerProperties Class

 

Provides for a generic implementation of text marker properties.

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

System.Object
  System.Windows.Media.TextFormatting.TextMarkerProperties
    System.Windows.Media.TextFormatting.TextSimpleMarkerProperties

public class TextSimpleMarkerProperties : TextMarkerProperties

NameDescription
System_CAPS_pubmethodTextSimpleMarkerProperties(TextMarkerStyle, Double, Int32, TextParagraphProperties)

Initializes a new instance of the TextSimpleMarkerProperties class.

NameDescription
System_CAPS_pubpropertyOffset

Gets the distance from the start of the line to the end of the text marker symbol.(Overrides TextMarkerProperties.Offset.)

System_CAPS_pubpropertyTextSource

Gets the source of the text runs used for the text marker.(Overrides TextMarkerProperties.TextSource.)

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

A text marker is a symbol that is commonly used for bullets and auto-numbering. The following example shows all the different representations of a TextMarkerStyle.

When you create a TextSimpleMarkerProperties object, you can create a custom text marker that is associated with an enumerated value of TextMarkerStyle.

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