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

Initializes a new instance of the DataGridViewCellFormattingEventArgs class.

NameTypeDescription

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

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

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

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

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

Used By

NameDescription

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

Last updated