GridLength.Equality(GridLength, GridLength) Opérateur

Définition

Compare l'égalité de deux structures GridLength.

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

Paramètres

gl1
GridLength

Première instance de GridLength à comparer.

gl2
GridLength

Deuxième instance de GridLength à comparer.

Retours

Boolean

true si les deux instances de GridLength ont la même valeur et GridUnitType ; sinon, false.

S’applique à

Voir aussi