Table of Contents

Method GetImageSize

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GetImageSize(IPropertyGridItem?, int)

Returns size of the custom paint image in front of property.

public virtual SizeI GetImageSize(IPropertyGridItem? prop, int item)

Parameters

prop IPropertyGridItem

Return image rectangle for this property. If this argument is null, then preferred size is returned.

item int

Which choice of property to use (each choice may have different image).

Returns

SizeI