6 references to ContainsItem
System.Windows.Controls.Ribbon (6)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (6)
731if (!gallery.ContainsItem(newItem, ignoreItemContainerGeneratorStatus, out category, out galleryItem))
753if (!gallery.ContainsItem(newItem, ignoreItemContainerGeneratorStatus, out category, out galleryItem))
1012if (ContainsItem(selectedItem, ignoreItemContainerGeneratorStatus, out category, out galleryItem))
1633if (!gallery.ContainsItem(newItem, ignoreItemContainerGeneratorStatus, out category, out galleryItem))
1655if (!gallery.ContainsItem(newItem, ignoreItemContainerGeneratorStatus, out category, out galleryItem))
3123if (ContainsItem(item, ignoreItemContainerGeneratorStatus, out category, out galleryItem) &&