LayoutSynchronizer.BeginLayoutSynchronization Method

Definition

Enters a block during which calling Update will force synchronous layout

public:
 static IDisposable ^ BeginLayoutSynchronization();
public static IDisposable BeginLayoutSynchronization ();
static member BeginLayoutSynchronization : unit -> IDisposable
Public Shared Function BeginLayoutSynchronization () As IDisposable

Returns

An IDisposable that should be disposed when forced synchronous layout is no longer desired. Synchronous layout will end when the last IDisposable created from this method has been disposed.

Applies to