2 writes to _galleryCount
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (2)
550HasGallery = (++_galleryCount > 0); 572HasGallery = (--_galleryCount > 0);