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