LayoutExtensions.Padding 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
Padding<TLayout>(TLayout, Thickness) | |
Padding<TLayout>(TLayout, Double, Double) |
Padding<TLayout>(TLayout, Thickness)
public static TLayout Padding<TLayout> (this TLayout layout, Xamarin.Forms.Thickness padding) where TLayout : Xamarin.Forms.Layout;
static member Padding : 'Layout * Xamarin.Forms.Thickness -> 'Layout (requires 'Layout :> Xamarin.Forms.Layout)
Type Parameters
- TLayout
Parameters
- layout
- TLayout
- padding
- Thickness
Returns
TLayout
Applies to
Padding<TLayout>(TLayout, Double, Double)
public static TLayout Padding<TLayout> (this TLayout layout, double horizontalSize, double verticalSize) where TLayout : Xamarin.Forms.Layout;
static member Padding : 'Layout * double * double -> 'Layout (requires 'Layout :> Xamarin.Forms.Layout)
Type Parameters
- TLayout
Parameters
- layout
- TLayout
- horizontalSize
- System.Double
- verticalSize
- System.Double
Returns
TLayout