DataGridViewCellFormattingEventArgs
Wisej.Web.DataGridViewCellFormattingEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.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
Throws:
ArgumentOutOfRangeExceptioncolumnIndex is less than -1 or rowIndex is less than -1.
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?