GridLengthHelper.Equals(GridLength, GridLength) Método

Definición

Proporciona una comparación de los valores de dos valores de GridLength . En su lugar, el código de C# y Microsoft Visual Basic deben usar el operador Equality o el método GridLength.Equals .

public:
 static bool Equals(GridLength target, GridLength value);
 static bool Equals(GridLength const& target, GridLength const& value);
public static bool Equals(GridLength target, GridLength value);
function equals(target, value)
Public Shared Function Equals (target As GridLength, value As GridLength) As Boolean

Parámetros

target
GridLength

Primer gridLength que se va a comparar.

value
GridLength

Segundo GridLength que se va a comparar.

Devoluciones

Boolean

bool

true si los dos valores GridLength contienen valores equivalentes como información de valor de estructura; de lo contrario, false.

Se aplica a

Consulte también