In This Article

ThicknessExtensions Class

Provides extension methods for the Avalonia.Thickness type.

public static class ThicknessExtensions
Inheritance:
object object

Methods

IsZero(Thickness)

Returns whether all sides in the Avalonia.Thickness are 0.0.

public static bool IsZero(this Thickness thickness)
Parameter Type Description
thickness Thickness

The Avalonia.Thickness to examine.

Returns

bool:

true if all sides in the Avalonia.Thickness are 0.0; otherwise, false.

Inherited Members