GridLength.Equality(GridLength, GridLength) Operador

Definición

Compara dos estructuras GridLength para determinar si son iguales.

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 GridLength que se va a comparar.

gl2
GridLength

Segunda instancia de GridLength que se va a comparar.

Devoluciones

Boolean

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

Se aplica a

Consulte también