Table of Contents

Operator implicit operator

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

implicit operator Thickness(double)

Implicit operator convertion from a single value to Thickness. All fields of thickness instance are assigned with the same value.

public static implicit operator Thickness(double d)

Parameters

d double

New thickness value.

Returns

Thickness

implicit operator Thickness(int)

Implicit operator convertion 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((double, double, double, double))

Implicit operator convertion from tuple with four values to Thickness.

public static implicit operator Thickness((double, double, double, double) d)

Parameters

d (double, double, double, double)

New thickness value.

Returns

Thickness