Equals Method (Object)
Collapse the table of content
Expand the table of content

Color.Equals Method (Object)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Tests whether the specified object is a Color structure and is equivalent to the current color.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)

public override bool Equals(
	Object o
)

Parameters

o
Type: System.Object
The object to compare to the current Color structure.

Return Value

Type: System.Boolean
true if the specified object is a Color structure and is identical to the current Color structure; otherwise, false.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft