Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

ItemImageArea Property, SftTree Class

Returns the size of the area reserved for each item's item image.

Class: SftTree
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public Size ItemImageArea { get; internal set; }
Public Property ItemImageArea As Size

Value

The size of the area reserved for each item's item image.

The default value is Size.0, 0.

Comments

Returns the size of the area reserved for each item's item image.

When default item images are defined using the SftTree.ItemExpandableImage, SftTree.ItemExpandedImage, SftTree.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 DimensionsClass.BeforeIconPart and DimensionsClass.AfterIconPart properties.

See Also SftTree Class | Classes | SftTree/NET 2.0