GridLength.Equality(GridLength, GridLength) Operador

Definición

Compara dos GridLength estructuras para obtener igualdad.

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

Primera instancia de que GridLength se va a comparar.

gl2
GridLength

Segunda instancia de GridLength que se va a comparar.

Devoluciones

true si las dos instancias de GridLength tienen el mismo valor y GridUnitType; de lo contrario, false.

Se aplica a

Consulte también