GridLength.Equality(GridLength, GridLength) Operator

Definicja

Porównuje dwie GridLength struktury równości.

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

Parametry

gl1
GridLength

Pierwsze wystąpienie klasy GridLength do porównania.

gl2
GridLength

Drugie wystąpienie klasy GridLength do porównania.

Zwraca

Boolean

true jeśli dwa wystąpienia mają GridLength tę samą wartość i GridUnitType; w przeciwnym razie false.

Dotyczy

Zobacz też