ITextDocument.BatchDisplayUpdates method

Applies to Windows and Windows Phone

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

Syntax


int BatchDisplayUpdates()

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 is nonzero, text updates are batched. This lets you perform a sequence of editing operations without the performance loss and flicker of screen updating.

To decrement the internal counter, call the ITextDocument.ApplyDisplayUpdates method.

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

Requirements

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.ApplyDisplayUpdates

 

 

Show:
© 2014 Microsoft