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