Share via


VisualElementExtensions.Size Method

Definition

Overloads

Size<TElement>(TElement, Double)
Size<TElement>(TElement, Double, Double)

Size<TElement>(TElement, Double)

public static TElement Size<TElement> (this TElement element, double sizeRequest) where TElement : Xamarin.Forms.VisualElement;
static member Size : 'Element * double -> 'Element (requires 'Element :> Xamarin.Forms.VisualElement)

Type Parameters

TElement

Parameters

element
TElement
sizeRequest
System.Double

Returns

TElement

Applies to

Size<TElement>(TElement, Double, Double)

public static TElement Size<TElement> (this TElement element, double widthRequest, double heightRequest) where TElement : Xamarin.Forms.VisualElement;
static member Size : 'Element * double * double -> 'Element (requires 'Element :> Xamarin.Forms.VisualElement)

Type Parameters

TElement

Parameters

element
TElement
widthRequest
System.Double
heightRequest
System.Double

Returns

TElement

Applies to