Remarks: Use the System.ComponentModel.EditorAttribute to specify the editor for a particular property or type. For example:
[Editor(typeof(MyEditorClass), typeof(PropertyGridTypeEditor))]Methods
CreateControl
#Creates the control for editing (and viewing for platforms that support it)
Parameters:
| args (CellEventArgs) | Arguments to create the control |
Returns: The control instance to set to the cell
PaintCell
#Paints the cell when viewing for platforms that don't support custom controls for non-editing cells (E.g. Gtk, WinForms).
Parameters:
| args (CellPaintEventArgs) | Arguments to paint the cell |