Share via


Size.Addition(Size, Size) Operator

Definition

Returns a new Size whose Height and Width are the sum of the component's height and width.

public static Xamarin.Forms.Size operator + (Xamarin.Forms.Size s1, Xamarin.Forms.Size s2);
static member ( + ) : Xamarin.Forms.Size * Xamarin.Forms.Size -> Xamarin.Forms.Size

Parameters

s1
Size

A Size to be added.

s2
Size

A Size to be added.

Returns

A Size whose Width is equal to s1.Width + s2.Width and whose Height is equal to sz1.Height + sz2.Height.

Applies to