|
|
|
|
ItemImageArea Property, SftTree Class |
Returns the size of the area reserved for each item's item image.
Syntax SftTree Class (Softelvdm.SftTreeNET)
VB |
Public Property ItemImageArea As Size |
C# |
public Size ItemImageArea { get; set; } |
C++ |
public: property Size ItemImageArea { |
Property Value
The size of the area reserved for each item's item image.
The default value is Size.0, 0.
Comments
The ItemImageArea property returns the size of the area reserved for each item's item image.
When default item images are defined using the ItemExpandableImage, ItemExpandedImage, ItemLeafImage or when item images are defined using ItemClass.Image, the ItemImageArea property is automatically updated to reserve sufficient space for any of the images used.
In addition to the space defined using the ItemImageArea, additional space is reserved around the item image using the Dimensions.BeforeIconPart and Dimensions.AfterIconPart properties.