GridLength.Equality(GridLength, GridLength) Operador

Definição

Compara a igualdade de duas estruturas 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

Parâmetros

gl1
GridLength

A primeira instância de GridLength para comparar.

gl2
GridLength

A segunda instância de GridLength para comparar.

Retornos

Boolean

true se as duas instâncias de GridLength têm o mesmo valor e GridUnitType; caso contrário, false.

Aplica-se a

Confira também