HeaderPane
Main
Hide
Share Link
Print

ItemImageArea Property, ListClass Class

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

Class: ListClass
Namespace: Softelvdm.SftBoxNET
Assembly: Softelvdm.SftBoxNET

Syntax

public Size ItemImageArea { get; }
Public ReadOnly Property ItemImageArea As Size

Value

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

The default value is new 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 ListClass.ItemExpandableImage, ListClass.ItemExpandedImage, ListClass.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 ListClass Class | Classes | SftBox/NET 3.0