New to Telerik UI for WPFStart a free 30-day trial

Class that describes GridViewCell as data object. Used to get the appropriate GridViewCell (UI container) in cases when it is recycled.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.GridView.dll

Syntax:

C#
public class GridViewCellInfo

Inheritance: objectGridViewCellInfo

Derived Classes: InvalidGridViewCellInfo

Constructors

Initializes a new instance of the GridViewCellInfo class.

C#
public GridViewCellInfo(GridViewCell cell)
Parameters:cellGridViewCell

The cell.

Initializes a new instance of the GridViewCellInfo class.

C#
public GridViewCellInfo(object item, GridViewColumn column, GridViewDataControl owner)
Parameters:itemobject

The item.

columnGridViewColumn

The column.

ownerGridViewDataControl

The owner.

Initializes a new instance of the GridViewCellInfo class.

C#
public GridViewCellInfo(object item, GridViewColumn column)
Parameters:itemobject

The item.

columnGridViewColumn

The column.

Properties

Gets the column.

C#
public GridViewColumn Column { get; }
Property Value:

The column.

Gets the item.

C#
public object Item { get; }
Property Value:

The item.

Methods

C#
public override bool Equals(object obj)
Parameters:objobjectReturns:

bool

Overrides: object.Equals(object)

C#
public override int GetHashCode()
Returns:

int

Overrides: object.GetHashCode()

Operators

Implements the operator !=.

C#
public static bool operator !=(GridViewCellInfo leftCellInfo, GridViewCellInfo rightCellInfo)
Parameters:leftCellInfoGridViewCellInfo

Left cell info.

rightCellInfoGridViewCellInfo

Right cell info.

Returns:

bool

The result of the operator.

Implements the operator ==.

C#
public static bool operator ==(GridViewCellInfo leftCellInfo, GridViewCellInfo rightCellInfo)
Parameters:leftCellInfoGridViewCellInfo

Left cell info.

rightCellInfoGridViewCellInfo

Right cell info.

Returns:

bool

The result of the operator.