7 references to Contains
PresentationFramework (2)
MS\Internal\Controls\InkCanvasInnerCanvas.cs (1)
278Debug.Assert(Children.Contains(hitElement), "The hit element should be a child of InnerCanvas.");
System\Windows\Controls\UIElementCollection.cs (1)
412return Contains(value as UIElement);
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonMenuItemsPanel.cs (1)
160if (!InternalChildren.Contains(starLayoutTarget))
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarPanel.cs (4)
321Debug.Assert(this.Children.Contains(currentChild) == true); 322Debug.Assert(QAT.OverflowPanel.Children.Contains(currentChild) == false); 335Debug.Assert(this.Children.Contains(currentChild) == false); 336Debug.Assert(QAT.OverflowPanel.Children.Contains(currentChild) == true);