Operator implicit operator
implicit operator Thickness(float)
Implicit operator conversion from a single value to Thickness. All fields of thickness instance are assigned with the same value.
public static implicit operator Thickness(float d)
Parameters
dfloatNew thickness value.
Returns
implicit operator Thickness(int)
Implicit operator conversion from int to Thickness. All fields of thickness instance are assigned with the same int value.
public static implicit operator Thickness(int d)
Parameters
dintNew thickness value.
Returns
implicit operator Thickness((float Left, float Top, float Right, float Bottom))
Implicit operator conversion from tuple with four values to Thickness.
public static implicit operator Thickness((float Left, float Top, float Right, float Bottom) d)