Class ObjectInspectorCell
Object-inspector grid cell that selects, paints and parses the
appropriate editing control for each property value according to its
ObjectInspectorCellType (combo box, color/image picker,
numeric editor, checkbox or ellipsis dialog launcher).
Inheritance
ObjectInspectorCell
Assembly: Reportman.Designer.dll
Syntax
public class ObjectInspectorCell : DataGridViewTextBoxCell, ICloneable, IDisposable
Constructors
View Source
ObjectInspectorCell()
Declaration
public ObjectInspectorCell()
Properties
View Source
DefaultNewRowValue
Declaration
public override object DefaultNewRowValue { get; }
Property Value
Overrides
View Source
EditType
Declaration
public override Type EditType { get; }
Property Value
Overrides
View Source
ValueType
Declaration
public override Type ValueType { get; }
Property Value
Overrides
Methods
View Source
DetachEditingControl()
Declaration
public override void DetachEditingControl()
Overrides
View Source
GetDisplayLayout(Rectangle, ref Rectangle, ref RectangleF)
Declaration
protected virtual void GetDisplayLayout(Rectangle CellRect, ref Rectangle colorBoxRect, ref RectangleF textBoxRect)
Parameters
View Source
GetMainDesigner()
Declaration
public FrameMainDesigner GetMainDesigner()
Returns
View Source
Declaration
public override void InitializeEditingControl(int rowIndex, object initialFormattedValue, DataGridViewCellStyle dataGridViewCellStyle)
Parameters
Overrides
View Source
Declaration
protected override void Paint(Graphics graphics, Rectangle clipBounds, Rectangle cellBounds, int rowIndex, DataGridViewElementStates elementState, object value, object formattedValue, string errorText, DataGridViewCellStyle cellStyle, DataGridViewAdvancedBorderStyle advancedBorderStyle, DataGridViewPaintParts paintParts)
Parameters
Overrides
DataGridViewTextBoxCell.Paint(Graphics, Rectangle, Rectangle, int, DataGridViewElementStates, object, object, string, DataGridViewCellStyle, DataGridViewAdvancedBorderStyle, DataGridViewPaintParts)
View Source
Declaration
public override object ParseFormattedValue(object formattedValue, DataGridViewCellStyle cellStyle, TypeConverter formattedValueTypeConverter, TypeConverter valueTypeConverter)
Parameters
Returns
Overrides
Implements