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