แก้ไข

แชร์ผ่าน


DataGridCellInfo.Inequality(DataGridCellInfo, DataGridCellInfo) Operator

Definition

Indicates whether two DataGridCellInfo instances are not 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 op_Inequality : 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 do not 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