TextRunCache Class

TextRunCache Class

 

Provides caching services to the TextFormatter object in order to improve performance.

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

System.Object
  System.Windows.Media.TextFormatting.TextRunCache

public sealed class TextRunCache

NameDescription
System_CAPS_pubmethodTextRunCache()

Initializes a new instance of the TextRunCache class.

NameDescription
System_CAPS_pubmethodChange(Int32, Int32, Int32)

Notifies the text engine client of a change to the cache when text content or text run properties of TextRun are added, removed, or replaced.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(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_pubmethodInvalidate()

Signals the text engine client to invalidate the entire contents of the TextFormatter cache.

System_CAPS_pubmethodToString()

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

Applications that use this caching mechanism are responsible for invalidating the content in the cache when it has changed.

.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