Språk

DataGridCellInfo.Equality(DataGridCellInfo, DataGridCellInfo) Operator

Definition

Anger om två DataGridCellInfo instanser är lika med.

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

Parametrar

cell1
DataGridCellInfo

Den första strukturen att jämföra.

cell2
DataGridCellInfo

Den andra strukturen att jämföra.

Returer

trueom de två strukturerna representerar samma cell; annars . false

Kommentarer

Den här operatorn jämför Column egenskapen, Item egenskapen och den DataGrid som äger cellcontainern.

Gäller för