Equality(Rect, Rect) Operator
Compares two Rect structs for equality.
public: static bool operator ==(Windows::Foundation::Rect rect1, Windows::Foundation::Rect rect2);
public static bool operator == (Windows.Foundation.Rect rect1, Windows.Foundation.Rect rect2);
static member ( = ) : Windows.Foundation.Rect * Windows.Foundation.Rect -> bool
Public Shared Operator == (rect1 As Rect, rect2 As Rect) As Boolean
The first rectangle to compare.
The second rectangle to compare.
true if the Rect structs have the same x, y, width, and height property values; otherwise,
This struct represents the .NET projection of the Windows Runtime (WinRT)
Rect struct. For more information, see Rect in the UWP API reference.
For more information and examples of this member, see Rect.Equality in the .NET Framework API reference. (Examples show WPF usage and might not translate directly to UWP XAML.)