Base:
method
Equals
System.Object.Equals(System.Object)
22 references to Equals
PresentationCore (3)
Core\CSharp\MS\Internal\TextFormatting\GenericTextProperties.cs (2)
107&& ((_foregroundBrush == null) ? (textRunProperties.ForegroundBrush == null) : (_foregroundBrush.Equals(textRunProperties.ForegroundBrush))) 108&& ((_backgroundBrush == null) ? (textRunProperties.BackgroundBrush == null) : (_backgroundBrush.Equals(textRunProperties.BackgroundBrush)))
Core\CSharp\system\windows\TextDecoration.cs (1)
82&& (Pen == null ? textDecoration.Pen == null : Pen.Equals( textDecoration.Pen))
PresentationFramework (5)
src\Framework\MS\Internal\Annotations\Anchoring\PathNode.cs (3)
83return _node.Equals(otherNode.Node); 334Debug.Assert(path.Node.Equals(branch.Node), "path.Node is not equal to branch.Node"); 340while (fp.Node.Equals(sp.Node) && sp._children.Count > 0)
src\Framework\MS\Internal\PtsHost\EmbeddedObject.cs (1)
109ErrorHandler.Assert(newAttachedObject.Element.Equals(Element), ErrorHandler.EmbeddedObjectOwnerMismatch);
src\Framework\System\Windows\Media\Animation\Storyboard.cs (1)
212return (_object.Equals(key._object) && (_property == key._property));
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\FlowchartDesigner.Helpers.cs (1)
34if (visual.Equals(obj))
System\Activities\Core\Presentation\StateContainerEditor.Utilities.cs (1)
111if (visual.Equals(obj))
System.Activities.Presentation (12)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\VisualTreeUtils.cs (1)
237if (child.Equals(VisualTreeHelper.GetChild(parent, childIndex)))
System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (4)
294if (breadCrumbRootView.Equals(modelItem.View)) 396while (!childElement.Equals(breadcrumbRoot) && container != null) 466while (visualHit != null && !visualHit.Equals(parentVisual) && 731CanCopy(p) && !p.View.Equals(designerView.RootDesigner));
System.Activities.Presentation\System\Activities\Presentation\DeleteHelper.cs (2)
26p => (null != p.View && p.View is WorkflowViewElement && !p.View.Equals(designerView.RootDesigner))); 43var toDelete = selection.SelectedObjects.Where(p => null != p.View && p.View is WorkflowViewElement && !p.View.Equals(designerView.RootDesigner));
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (1)
81if (destConnPoint != null && !destConnPoint.Equals(srcConnectionPoint))
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (2)
238if (null != selection && selection.Equals(this.RootDesigner)) 267if (null != selection && !selection.Equals(this.RootDesigner))
System.Activities.Presentation\System\Activities\Presentation\View\ViewUtilities.cs (1)
120return modelItem != null && modelItem.View != null && modelItem.View.Equals(designerView.RootDesigner);
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
574if (!this.Equals(designerView.RootDesigner))