TextRunCache TextRunCache TextRunCache TextRunCache Class


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

public ref class TextRunCache sealed
public sealed class TextRunCache
type TextRunCache = class
Public NotInheritable Class TextRunCache


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


TextRunCache() TextRunCache() TextRunCache() TextRunCache()

Initializes a new instance of the TextRunCache class.


Change(Int32, Int32, Int32) Change(Int32, Int32, Int32) Change(Int32, Int32, Int32) 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) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
Invalidate() Invalidate() Invalidate() Invalidate()

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

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also