Skip to main content

Equality Operator

Overloaded operator, compares 2 DataGridLength's.

Definition​

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls.DataGrid (in Avalonia.Controls.DataGrid.dll)

public static bool operator ==(
DataGridLength gl1,
DataGridLength gl2
)

Parameters​

  DataGridLength
first DataGridLength to compare.
  DataGridLength
second DataGridLength to compare.

Return Value​

Boolean
true if specified DataGridLength have same value, unit type, desired value, and display value.

See Also​

Reference​

DataGridLength Structure
Avalonia.Controls Namespace