GetPreferredSize(Control) Method
Gets the preferred (maximum needed) size of the cell for the editor control.
'Declaration
Public Overloads Overridable Function GetPreferredSize( _
ByVal As Control _
) As Size
'Usage
Dim instance As BaseCellType
Dim editor As Control
Dim value As Size
value = instance.GetPreferredSize(editor)
Parameters
- editor
- Name of the editor control