Windows Dev Center

ITextDocument.ApplyDisplayUpdates method

Decrements an internal counter that controls whether text updates are displayed immediately or batched.

Syntax


int ApplyDisplayUpdates()

Parameters

This method has no parameters.

Return value

Type: System.Int32 [.NET] | int32 [C++]

The value of the internal counter.

Remarks

If the internal counter goes to zero, text updates are displayed immediately instead of batched.

This method cannot decrement the internal counter below zero, and no error occurs if it is called when the counter is already zero.

To increment the internal counter, call the ITextDocument.BatchDisplayUpdates method.

Note  If undo grouping is on (see ITextDocument.BeginUndoGroup), screen updating is suppressed regardless of the internal counter's value.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Text
Windows::UI::Text [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Text
Windows::UI::Text [C++]

Metadata

Windows.winmd

See also

ITextDocument
ITextDocument.BatchDisplayUpdates

 

 

Show:
© 2015 Microsoft