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