2 writes to IsSynchronizedWithCurrentItemInternal
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (2)
955IsSynchronizedWithCurrentItemInternal = isSynchronizedWithCurrentItem.Value; 959IsSynchronizedWithCurrentItemInternal = IsInitialized && (RibbonGallery.GetSourceCollectionView(this) != null);
11 references to IsSynchronizedWithCurrentItemInternal
System.Windows.Controls.Ribbon (11)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (8)
945bool oldValue = IsSynchronizedWithCurrentItemInternal; 963bool newValue = IsSynchronizedWithCurrentItemInternal; 1002if (IsSynchronizedWithCurrentItemInternal) 1081Debug.Assert(IsSynchronizedWithCurrentItemInternal, "We should add currency change listeners only when IsSynchronizedWithCurrentItemInternal is true"); 1159Debug.Assert(IsSynchronizedWithCurrentItemInternal, "We shouldn't be listening for currency changes if IsSynchronizedWithCurrentItemInternal is false"); 1182Debug.Assert(IsSynchronizedWithCurrentItemInternal, "We shouldn't be listening for currency changes if IsSynchronizedWithCurrentItemInternal is false"); 1525if (cv != null && IsSynchronizedWithCurrentItemInternal) 1533if (cv != null && IsSynchronizedWithCurrentItemInternal)
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (3)
457if (RibbonGallery != null && RibbonGallery.IsSynchronizedWithCurrentItemInternal) 500if (RibbonGallery != null && RibbonGallery.IsSynchronizedWithCurrentItemInternal) 516Debug.Assert(RibbonGallery == null || RibbonGallery.IsSynchronizedWithCurrentItemInternal, "We shouldn't be listening for currency changes if IsSynchronizedWithCurrentItemInternal is false");