Partager via


LayoutSynchronizer Members

Include Protected Members
Include Inherited Members

Class which helps ensure that layout happens synchronously based on data model changes. While inside a layout-synchronization 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.

The LayoutSynchronizer type exposes the following members.

Methods

  Name Description
Public methodStatic member BeginLayoutSynchronization Enters a block during which calling Update will force synchronous layout
Public methodStatic member Update Synchronously lays out the given element if synchronization is currently active.

Top

Properties

  Name Description
Public propertyStatic member IsSynchronizing Determines if any IDisposables created from BeginLayoutSynchronization still remain active.

Top

See Also

Reference

LayoutSynchronizer Class

Microsoft.VisualStudio.PlatformUI Namespace