Table of Contents

Method Equals

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

Equals(object?)

This function compares to the provided object for type and value equality.

public override readonly bool Equals(object? obj)

Parameters

obj object

Object to compare

Returns

bool

True if object is a Thickness and all sides of it are equal to this Thickness.

Equals(Thickness)

Compares this instance of Thickness with another instance.

public readonly bool Equals(Thickness thickness)

Parameters

thickness Thickness

Thickness instance to compare.

Returns

bool

trueif this Thickness instance has the same value and unit type as thickness.