Size.Equality(Size, Size) 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.
Whether two Sizes have equal values.
public static bool operator == (Xamarin.Forms.Size s1, Xamarin.Forms.Size s2);
static member ( = ) : Xamarin.Forms.Size * Xamarin.Forms.Size -> bool
Parameters
Returns
System.Boolean
true
if s1
and s2
have equal values for Height and Width.
Remarks
Application developers should be aware that Width and Height are stored internally as double
s. Values with small differences may compare incorrectly due to internal rounding limitations.