ViewExtensions.Margin 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
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