TextRunCache Class
Provides caching services to the TextFormatter object in order to improve performance.
Assembly: PresentationCore (in PresentationCore.dll)
| Name | Description | |
|---|---|---|
![]() | TextRunCache() | Initializes a new instance of the TextRunCache class. |
| Name | Description | |
|---|---|---|
![]() | Change(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. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | Invalidate() | Signals the text engine client to invalidate the entire contents of the TextFormatter cache. |
![]() | ToString() | 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.
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.
