Leadtools.Windows.Controls Namespace > IImageListItem Interface : ImageSize Property |
Size ImageSize {get; set;}
'Declaration Property ImageSize As Size
'Usage Dim instance As IImageListItem Dim value As Size instance.ImageSize = value value = instance.ImageSize
The image size is the area inside the item where the image (in Source) will be drawn. This must be equal to or less than Width and Height.
The image will be drawn inside the rectangle define by ImageSize and centered inside Width and Height.
For C#/VB examples, refer to IImageListItem.