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

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class GridViewCellEventArgsBase : EventArgs

Inheritance: objectEventArgsGridViewCellEventArgsBase

Derived Classes: PdfExportCellFormattingEventArgsCellFormattingEventArgsCellValidatedEventArgsGridViewCellEventArgsGridViewHeaderCellEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the class.

C#
public GridViewCellEventArgsBase(GridViewRowInfo row, GridViewColumn column)
Parameters:rowGridViewRowInfo

The GridViewRowInfo related with the cell.

columnGridViewColumn

The GridViewColumn related with the cell.

Properties

Gets the GridViewColumn related with the cell.

C#
public GridViewColumn Column { get; }

Gets a value indicating the column index of the cell that the event occurs for.

C#
public virtual int ColumnIndex { get; }
Property Value:

The index of the column containing the cell that the event occurs for.

Gets the GridViewRowInfo related with the cell.

C#
public GridViewRowInfo Row { get; }

Gets a value indicating the row index of the cell that the event occurs for.

C#
public virtual int RowIndex { get; }
Property Value:

The index of the row containing the cell that the event occurs for.

Methods

Compares the current instance of GridViewCellEventArgs to the one passed as parameter obj

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

The object to compare to the current instance.

Returns:

bool

Overrides: object.Equals(object)

Serves as a hash function for a particular type.

C#
public override int GetHashCode()
Returns:

int

A hash code for the current object.

Overrides: object.GetHashCode()