Skip to main content
DataGridCellInfo Structure
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Represents information about a specific cell in a DataGrid.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public struct DataGridCellInfo
public value struct DataGridCellInfo
[<Sealed>]
type DataGridCellInfo = struct end
Public Structure DataGridCellInfo
NameDescription
System_CAPS_pubmethod DataGridCellInfo

Initializes a new instance of the DataGridCellInfo structure for the specified cell.

System_CAPS_pubmethod DataGridCellInfo

Initializes a new instance of the DataGridCellInfo structure using the specified data item and column.

NameDescription
System_CAPS_pubproperty

Gets the column that contains the cell.

System_CAPS_pubproperty

Gets a value that indicates whether the structure holds valid information.

System_CAPS_pubproperty

Gets the data item for the row that contains the cell.

NameDescription
System_CAPS_pubmethod Equals

Indicates whether the specified object is equal to the current instance.(Overrides ValueTypeEquals.)

System_CAPS_pubmethod GetHashCode

Returns a hash code for the current DataGridCellInfo structure.(Overrides ValueTypeGetHashCode.)

System_CAPS_pubmethod GetType

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethod ToString

Returns the fully qualified type name of this instance.(Inherited from ValueType.)

NameDescription
System_CAPS_puboperator System_CAPS_static Equality

Indicates whether two DataGridCellInfo instances are equal.

System_CAPS_puboperator System_CAPS_static Inequality

Indicates whether two DataGridCellInfo instances are not equal.

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 or properties.

.NET Framework
Available since 4.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top