DataGridViewCellFormattingEventArgs

Wisej.Web.DataGridViewCellFormattingEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Provides data for the CellFormatting event of a DataGridView.

public class DataGridViewCellFormattingEventArgs : ConvertEventArgs

Constructors

DataGridViewCellFormattingEventArgs(columnIndex, rowIndex, value, desiredType, cellStyle)

Initializes a new instance of the DataGridViewCellFormattingEventArgs class.

Name
Type
Description

columnIndex

The column index of the cell that caused the event.

rowIndex

The row index of the cell that caused the event.

value

The cell's contents.

desiredType

The type to convert value to.

cellStyle

The style of the cell that caused the event.

Throws:

Properties

CellStyle

DataGridViewCellStyle: Returns or sets the style of the cell that is being formatted.

ColumnIndex

Int32: Returns the column index of the cell that is being formatted.

FormattingApplied

Boolean: Returns or sets whether the cell value has been successfully formatted.

RowIndex

Int32: Returns the row index of the cell that is being formatted.

Used By

Name
Description

Represents the method that will handle the CellFormatting event of a DataGridView.

Last updated

Was this helpful?