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