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.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應