Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PixelFormat.Equals Method (PixelFormat, PixelFormat)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Determines whether the specified PixelFormat instances are considered equal.

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

public static bool Equals(
	PixelFormat left,
	PixelFormat right


Type: System.Windows.Media.PixelFormat

The first PixelFormat objects to compare for equality.

Type: System.Windows.Media.PixelFormat

The second PixelFormat object to compare for equality.

Return Value

Type: System.Boolean

true if the two parameters are equal; otherwise, false.

.NET Framework
Available since 3.0
Return to top
© 2018 Microsoft