Upravit

Sdílet prostřednictvím


TextRunCache Class

Definition

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
Inheritance
TextRunCache

Remarks

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

Constructors

TextRunCache()

Initializes a new instance of the TextRunCache class.

Methods

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

Gets the Type of the current instance.

(Inherited from Object)
Invalidate()

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

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also