VisualElementExtensions.Size Method
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.
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