←Select platform

ItemImageSize Property

Summary

Gets or sets the item image size in pixels.

Syntax

C#
VB
C++
public Size ItemImageSize { get; set; } 
Public Property ItemImageSize As Size 
public: 
property Size ItemImageSize { 
   Size get(); 
   void set (    Size ); 
} 

Property Value

The size of the image box inside this item in pixels. Default value is 128, 102.

Remarks

Use the ItemSize property to set the overall item size. The image will be drawn inside the rectangle define by ItemImageSize and centered inside ItemSize.

Changing this property will make this control loop through all the items and setting IImageListItem.ImageSize accordingly.

Example

For XAML example, refer to ItemBorderBrush.

For C#/VB examples, refer to ItemBorderBrush.

Requirements

Target Platforms

See Also

Reference

ImageList Class

ImageList Members

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Controls Assembly