DataGridCellInfo.Inequality(DataGridCellInfo, DataGridCellInfo) 运算符

定义

指示两个 DataGridCellInfo 实例是否不相等。

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

参数

cell1
DataGridCellInfo

要比较的第一个结构。

cell2
DataGridCellInfo

要比较的第二个结构。

返回

如果两个结构不表示同一单元格,则为 true;否则为 false

注解

此运算符比较 Column 属性、 Item 属性和 DataGrid 拥有单元格容器的 。

适用于