Share via


Rectangle.Inequality(Rectangle, Rectangle) Operator

Definition

Whether two Rectangles have unequal values.

public static bool operator != (Xamarin.Forms.Rectangle r1, Xamarin.Forms.Rectangle r2);
static member op_Inequality : Xamarin.Forms.Rectangle * Xamarin.Forms.Rectangle -> bool

Parameters

r1
Rectangle

A Rectangle being compared.

r2
Rectangle

A Rectangle being compared.

Returns

System.Boolean

true if either the Location or Size of the two rectangles have differences.

Applies to