Table of Contents

Operator implicit operator

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

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

d float

New thickness value.

Returns

Thickness

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

d int

New thickness value.

Returns

Thickness

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)

Parameters

d (float Left, float Top, float Right, float Bottom)

New thickness value.

Returns

Thickness