DataGridCellInfo.Equality(DataGridCellInfo, DataGridCellInfo) Operator

Definition

Indicates whether two DataGridCellInfo instances are equal.

public:
 static bool operator ==(System::Windows::Controls::DataGridCellInfo cell1, System::Windows::Controls::DataGridCellInfo cell2);
public static bool operator == (System.Windows.Controls.DataGridCellInfo cell1, System.Windows.Controls.DataGridCellInfo cell2);
static member ( = ) : System.Windows.Controls.DataGridCellInfo * System.Windows.Controls.DataGridCellInfo -> bool
Public Shared Operator == (cell1 As DataGridCellInfo, cell2 As DataGridCellInfo) As Boolean

Parameters

cell1
DataGridCellInfo

The first structure to compare.

cell2
DataGridCellInfo

The second structure to compare.

Returns

true if the two structures represent the same cell; otherwise, false.

Remarks

This operator compares the Column property, the Item property, and the DataGrid that owns the cell container.

Applies to