DataGridCellInfo.Equality(DataGridCellInfo, DataGridCellInfo) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.