Rect.Inequality(Rect, Rect) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares two Rect structs for inequality.
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 op_Inequality : Windows.Foundation.Rect * Windows.Foundation.Rect -> bool
Public Shared Operator != (rect1 As Rect, rect2 As Rect) As Boolean
Parameters
- rect1
- Rect
The first rectangle to compare.
- rect2
- Rect
The second rectangle to compare.
Returns
true
if the Rect structs do not have the same x, y, width, and height property values; otherwise, false
.
Remarks
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.Inequality in the .NET Framework API reference. (Examples show WPF usage and might not translate directly to UWP XAML.)