Method GetImageSize
GetImageSize(IPropertyGridItem?, int)
Returns size of the custom paint image in front of property.
public virtual SizeI GetImageSize(IPropertyGridItem? prop, int item)
Parameters
prop
IPropertyGridItemReturn image rectangle for this property. If this argument is
null
, then preferred size is returned.item
intWhich choice of property to use (each choice may have different image).