2 writes to _galleryCount
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (2)
572HasGallery = (++_galleryCount > 0); 598HasGallery = (--_galleryCount > 0);
1 reference to _galleryCount
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
596if (element is RibbonGallery && _galleryCount > 0)