LayoutSynchronizer Class

Definition

Class which helps ensure that layout happens synchronously based on data model changes. While inside a layout-synchroniziation scope, calling Update will ensure that the updated element will be laid out synchronously. Participating controls should call LayoutSynchronizer.Update when their data model changes.

C++/CX
public ref class LayoutSynchronizer abstract sealed
Inheritance
LayoutSynchronizer

Properties

IsSynchronizing

Determines if any IDisposables created from BeginLayoutSynchronization still remain active.

Methods

BeginLayoutSynchronization()

Enters a block during which calling Update will force synchronous layout

Update(Visual)

Synchronously lays out the given element if synchronization is currently active.

Applies to

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022