2 writes to HasGallery
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (2)
543HasGallery = (++_galleryCount > 0); 565HasGallery = (--_galleryCount > 0);