'Declaration
Function GetPreferredSize( _ ByVal paintingContext As IPaintingContext, _ ByVal size As Size, _ ByVal value As Object, _ ByRef cfResult As CfExecutedResult _ ) As Size
'Usage
Dim instance As IUniversalCellType Dim paintingContext As IPaintingContext Dim size As Size Dim value As Object Dim cfResult As CfExecutedResult Dim value As Size value = instance.GetPreferredSize(paintingContext, size, value, cfResult)
Size GetPreferredSize( IPaintingContext paintingContext, Size size, object value, ref CfExecutedResult cfResult )
Parameters
- paintingContext
- The context for painting the cell.
- size
- Preferred or maximum required size
- value
- Object that contains the name of the renderer control of the cell
- cfResult
- The appearance setting of cell.