DataGridCellInfo Structure
TOC
Collapse the table of content
Expand the table of content

DataGridCellInfo Structure

.NET Framework (current version)
 

Represents information about a specific cell in a DataGrid.

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

[<Sealed>]
type DataGridCellInfo = struct end

NameDescription
System_CAPS_pubmethodDataGridCellInfo(DataGridCell)

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

System_CAPS_pubmethodDataGridCellInfo(Object, DataGridColumn)

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

NameDescription
System_CAPS_pubpropertyColumn

Gets the column that contains the cell.

System_CAPS_pubpropertyIsValid

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

System_CAPS_pubpropertyItem

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

NameDescription
System_CAPS_pubmethodEquals(Object)

Indicates whether the specified object is equal to the current instance.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

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

System_CAPS_pubmethodGetType()

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

System_CAPS_pubmethodToString()

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

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(DataGridCellInfo, DataGridCellInfo)

Indicates whether two DataGridCellInfo instances are equal.

System_CAPS_puboperatorSystem_CAPS_staticInequality(DataGridCellInfo, DataGridCellInfo)

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 CurrentCell or SelectedCells 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
Show:
© 2016 Microsoft