2 writes to IsSynchronizedWithCurrentItemInternal
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (2)
954IsSynchronizedWithCurrentItemInternal = isSynchronizedWithCurrentItem.Value; 958IsSynchronizedWithCurrentItemInternal = IsInitialized && (RibbonGallery.GetSourceCollectionView(this) != null);
11 references to IsSynchronizedWithCurrentItemInternal
System.Windows.Controls.Ribbon (11)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (8)
944bool oldValue = IsSynchronizedWithCurrentItemInternal; 962bool newValue = IsSynchronizedWithCurrentItemInternal; 1001if (IsSynchronizedWithCurrentItemInternal) 1080Debug.Assert(IsSynchronizedWithCurrentItemInternal, "We should add currency change listeners only when IsSynchronizedWithCurrentItemInternal is true"); 1158Debug.Assert(IsSynchronizedWithCurrentItemInternal, "We shouldn't be listening for currency changes if IsSynchronizedWithCurrentItemInternal is false"); 1181Debug.Assert(IsSynchronizedWithCurrentItemInternal, "We shouldn't be listening for currency changes if IsSynchronizedWithCurrentItemInternal is false"); 1526if (cv != null && IsSynchronizedWithCurrentItemInternal) 1534if (cv != null && IsSynchronizedWithCurrentItemInternal)
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (3)
448if (RibbonGallery != null && RibbonGallery.IsSynchronizedWithCurrentItemInternal) 491if (RibbonGallery != null && RibbonGallery.IsSynchronizedWithCurrentItemInternal) 507Debug.Assert(RibbonGallery == null || RibbonGallery.IsSynchronizedWithCurrentItemInternal, "We shouldn't be listening for currency changes if IsSynchronizedWithCurrentItemInternal is false");