public MeasureSize ( TreeNodeAdv node, DrawContext context ) : |
||
node | TreeNodeAdv | |
context | DrawContext | |
return |
public override Size MeasureSize(TreeNodeAdv node, DrawContext context)
{
Image image = GetIcon(node);
if (image != null)
return image.Size;
else
return Size.Empty;
}