DataGridCellInfo Struct
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.
Represents information about a specific cell in a DataGrid.
public value class DataGridCellInfo
public struct DataGridCellInfo
type DataGridCellInfo = struct
Public Structure DataGridCellInfo
- Inheritance
Remarks
This structure provides information about the cell and the data item associated with the cell. It is used instead of a reference to the actual DataGridCell container when the DataGrid gets a cell; for example, in the CurrentCell or SelectedCells properties.
Constructors
DataGridCellInfo(DataGridCell) |
Initializes a new instance of the DataGridCellInfo structure for the specified cell. |
DataGridCellInfo(Object, DataGridColumn) |
Initializes a new instance of the DataGridCellInfo structure using the specified data item and column. |
Properties
Column |
Gets the column that contains the cell. |
IsValid |
Gets a value that indicates whether the structure holds valid information. |
Item |
Gets the data item for the row that contains the cell. |
Methods
Equals(Object) |
Indicates whether the specified object is equal to the current instance. |
GetHashCode() |
Returns a hash code for the current DataGridCellInfo structure. |
Operators
Equality(DataGridCellInfo, DataGridCellInfo) |
Indicates whether two DataGridCellInfo instances are equal. |
Inequality(DataGridCellInfo, DataGridCellInfo) |
Indicates whether two DataGridCellInfo instances are not equal. |
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기