Color.Equals Method (Color)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Tests whether the specified Color structure is identical to the current color.
Namespace: System.Windows.Media
Assembly: System.Windows (in System.Windows.dll)
Syntax
Public Function Equals ( _
color As Color _
) As Boolean
public bool Equals(
Color color
)
Parameters
- color
Type: System.Windows.Media..::.Color
The Color structure to compare to the current Color structure.
Return Value
Type: System..::.Boolean
true if the specified Color structure is identical to the current Color structure; otherwise, false.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone