Color.Equals Method (Object)

July 28, 2014

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:
© 2014 Microsoft