Partager via


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.

public ref class LayoutSynchronizer abstract sealed
public ref class LayoutSynchronizer abstract sealed
class LayoutSynchronizer abstract sealed
public static class LayoutSynchronizer
type LayoutSynchronizer = class
Public Class LayoutSynchronizer
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