Class DataGridViewCellAdvanced
The cell type used by DataGridViewColumnAdvanced; hosts the AdvancedEditingControl editor and masks password-typed values when displaying.
Inheritance
DataGridViewCellAdvanced
Inherited Members
Namespace: Reportman.Drawing.Forms
Assembly: Reportman.Drawing.Forms.dll
Syntax
public class DataGridViewCellAdvanced : DataGridViewTextBoxCell, ICloneable, IDisposable
Constructors
View SourceDataGridViewCellAdvanced()
Declaration
public DataGridViewCellAdvanced()
Properties
View SourceEditType
Declaration
public override Type EditType { get; }
Property Value
| Type | Description |
|---|---|
| Type |
Overrides
Methods
View SourceGetFormattedValue(object, int, ref DataGridViewCellStyle, TypeConverter, TypeConverter, DataGridViewDataErrorContexts)
Declaration
protected override object GetFormattedValue(object value, int rowIndex, ref DataGridViewCellStyle cellStyle, TypeConverter valueTypeConverter, TypeConverter formattedValueTypeConverter, DataGridViewDataErrorContexts context)
Parameters
| Type | Name | Description |
|---|---|---|
| object | value | |
| int | rowIndex | |
| DataGridViewCellStyle | cellStyle | |
| TypeConverter | valueTypeConverter | |
| TypeConverter | formattedValueTypeConverter | |
| DataGridViewDataErrorContexts | context |
Returns
| Type | Description |
|---|---|
| object |
Overrides
View SourcePaint(Graphics, Rectangle, Rectangle, int, DataGridViewElementStates, object, object, string, DataGridViewCellStyle, DataGridViewAdvancedBorderStyle, DataGridViewPaintParts)
Declaration
protected override void Paint(Graphics graphics, Rectangle clipBounds, Rectangle cellBounds, int rowIndex, DataGridViewElementStates cellState, object value, object formattedValue, string errorText, DataGridViewCellStyle cellStyle, DataGridViewAdvancedBorderStyle advancedBorderStyle, DataGridViewPaintParts paintParts)
Parameters
| Type | Name | Description |
|---|---|---|
| Graphics | graphics | |
| Rectangle | clipBounds | |
| Rectangle | cellBounds | |
| int | rowIndex | |
| DataGridViewElementStates | cellState | |
| object | value | |
| object | formattedValue | |
| string | errorText | |
| DataGridViewCellStyle | cellStyle | |
| DataGridViewAdvancedBorderStyle | advancedBorderStyle | |
| DataGridViewPaintParts | paintParts |