protected override void DisposeManagedResources() { --LayoutSynchronizer.layoutSynchronizationRefCount; if (LayoutSynchronizer.layoutSynchronizationRefCount != 0) { return; } LayoutSynchronizer.Synchronize(); }
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e) { base.OnItemsChanged(e); LayoutSynchronizer.Update((Visual)this); }
protected override void OnContentChanged(object oldContent, object newContent) { base.OnContentChanged(oldContent, newContent); LayoutSynchronizer.Update((Visual)this); }