6 references to ContainsItem
System.Windows.Controls.Ribbon (6)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (6)
729if (!gallery.ContainsItem(newItem, ignoreItemContainerGeneratorStatus, out category, out galleryItem))
751if (!gallery.ContainsItem(newItem, ignoreItemContainerGeneratorStatus, out category, out galleryItem))
1010if (ContainsItem(selectedItem, ignoreItemContainerGeneratorStatus, out category, out galleryItem))
1631if (!gallery.ContainsItem(newItem, ignoreItemContainerGeneratorStatus, out category, out galleryItem))
1653if (!gallery.ContainsItem(newItem, ignoreItemContainerGeneratorStatus, out category, out galleryItem))
3121if (ContainsItem(item, ignoreItemContainerGeneratorStatus, out category, out galleryItem) &&