Edit

Share via


DataGridLength.Equality(DataGridLength, DataGridLength) Operator

Definition

Compares two DataGridLength structures for equality.

public:
 static bool operator ==(System::Windows::Controls::DataGridLength gl1, System::Windows::Controls::DataGridLength gl2);
public static bool operator == (System.Windows.Controls.DataGridLength gl1, System.Windows.Controls.DataGridLength gl2);
static member ( = ) : System.Windows.Controls.DataGridLength * System.Windows.Controls.DataGridLength -> bool
Public Shared Operator == (gl1 As DataGridLength, gl2 As DataGridLength) As Boolean

Parameters

gl1
DataGridLength

The first DataGridLength instance to compare.

gl2
DataGridLength

The second DataGridLength instance to compare.

Returns

true if the two DataGridLength instances have the same value or sizing mode; otherwise, false.

Applies to