共用方式為


Size.Addition(Size, Size) 運算子

定義

傳回新 Size,其 HeightWidth 是元件的高度和寬度總和。

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

參數

s1
Size

要加入的 Size

s2
Size

要加入的 Size

傳回

SizeWidth 等於 s1.Width + s2.Width ,且 其 Height 等於 sz1.Height + sz2.Height

適用於