Xamarin.Forms.Thickness Structure
Struct defining thickness around the edges of a Rectangle using doubles.
See Also: Thickness
Syntax
[System.Diagnostics.DebuggerDisplay("Left={Left}, Top={Top}, Right={Right}, Bottom={Bottom}, HorizontalThickness={HorizontalThickness}, VerticalThickness={VerticalThickness}")]
[Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.ThicknessTypeConverter))]
public struct Thickness
[Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.ThicknessTypeConverter))]
public struct Thickness
Requirements
Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0, 1.4.0.0, 1.5.0.0, 2.0.0.0
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0, 1.4.0.0, 1.5.0.0, 2.0.0.0
The members of Xamarin.Forms.Thickness are listed below.
See Also: ValueType
Public Constructors
Public Properties
Bottom | Double. The thickness of the bottom of a rectangle. | |
[read-only] | HorizontalThickness | Double. The sum of Thickness.Left and Thickness.Right. |
Left | Double. The thickness of the left side of a rectangle. | |
Right | Double. The thickness of the right side of a rectangle. | |
Top | Double. The thickness of the top of a rectangle. | |
[read-only] | VerticalThickness | Double. The sum of Thickness.Top and Thickness.Bottom. |
Public Methods
Public Operators
static | Equality(Thickness, Thickness) | Whether two Thicknesses have identical values. |
static | Inequality(Thickness, Thickness) | Whether the values of two Thickness's have at least one difference. |
static | Conversion to Xamarin.Forms.Thickness(Implicit) | Implicit cast operator from Double. |
static | Conversion to Xamarin.Forms.Thickness(Implicit) | Converts a Size into a Thickness. |