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

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

See Also

Reference

Color Structure

Equals Overload

System.Windows.Media Namespace