Extension Methods
Various extension methods are provided for several Avalonia types.
Tip
Additional extension methods for common .NET types are included in the Core Library.
Important
The ActiproSoftware.UI.Avalonia namespace must be imported for the extensions described below to be available.
CornerRadius Extensions
The CornerRadiusExtensions type contains extension methods for the CornerRadius type.
| Type | Description | 
|---|---|
| IsZero | Returns whether all radii in the CornerRadius are 0.0. | 
Thickness Extensions
The ThicknessExtensions type contains extension methods for the Thickness type.
| Type | Description | 
|---|---|
| IsZero | Returns whether all sides in the Thickness are 0.0. |