Class Thickness
Defines the thickness around the edges of the grid cell.
Inheritance
Namespace: Syncfusion.SfDataGrid
Assembly: Syncfusion.SfDataGrid.Android.dll
Syntax
public sealed class Thickness : ValueType
Constructors
Thickness(Double)
Initializes a new instance of the Thickness struct.
Declaration
public Thickness(double padding)
Parameters
Type | Name | Description |
---|---|---|
System.Double | padding | The padding to be applied to the grid cell. |
Thickness(Double, Double, Double, Double)
Initializes a new instance of the Thickness struct with the specified values.
Declaration
public Thickness(double left, double top, double right, double bottom)
Parameters
Type | Name | Description |
---|---|---|
System.Double | left | The left padding to be applied to the grid cell. |
System.Double | top | The top padding to be applied to the grid cell. |
System.Double | right | The right padding to be applied to the grid cell. |
System.Double | bottom | The bottom padding to be applied to the grid cell. |
Properties
Bottom
Gets or sets the bottom padding of the cell.
Declaration
public double Bottom { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The bottom padding of the cell. |
Left
Gets or sets the left padding of the cell.
Declaration
public double Left { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The left padding of the cell. |
Right
Gets or sets the right padding of the cell.
Declaration
public double Right { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The right padding of the cell. |
Top
Gets or sets the top padding of the cell.
Declaration
public double Top { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The top padding of the cell. |
Operators
Implicit(Double to Thickness)
Implicit cast operator for converting the given double value to Thickness.
Declaration
public static implicit operator Thickness(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value | The value to be converted to Thickness. |
Returns
Type |
---|
Thickness |