Share via


GridLength.Equality(GridLength, GridLength) Operator

Definition

Indicates whether two GridLength instances are equal.

public:
 static bool operator ==(Microsoft::Maui::GridLength left, Microsoft::Maui::GridLength right);
public static bool operator ==(Microsoft.Maui.GridLength left, Microsoft.Maui.GridLength right);
static member ( = ) : Microsoft.Maui.GridLength * Microsoft.Maui.GridLength -> bool
Public Shared Operator == (left As GridLength, right As GridLength) As Boolean

Parameters

left
GridLength

The first GridLength to compare.

right
GridLength

The second GridLength to compare.

Returns

true if the two GridLengths are equal; otherwise, false.

Applies to