ViewExtensions.Margin Method

Definition

Overloads

Margin<TView>(TView, Thickness)
Margin<TView>(TView, Double, Double)

Margin<TView>(TView, Thickness)

public static TView Margin<TView> (this TView view, Xamarin.Forms.Thickness margin) where TView : Xamarin.Forms.View;
static member Margin : 'View * Xamarin.Forms.Thickness -> 'View (requires 'View :> Xamarin.Forms.View)

Type Parameters

TView

Parameters

view
TView
margin
Thickness

Returns

TView

Applies to

Margin<TView>(TView, Double, Double)

public static TView Margin<TView> (this TView view, double horizontal, double vertical) where TView : Xamarin.Forms.View;
static member Margin : 'View * double * double -> 'View (requires 'View :> Xamarin.Forms.View)

Type Parameters

TView

Parameters

view
TView
horizontal
System.Double
vertical
System.Double

Returns

TView

Applies to