Gets or sets the size of each RasterImageListItem in the control.
[CategoryAttribute("Appearance")]
[DescriptionAttribute("Size of each item (including image and text) in pixels.")]
public Size ItemSize {get; set;}
<CategoryAttribute("Appearance")>
<DescriptionAttribute("Size of each item (including image and text) in pixels.")>
Public Property ItemSize As Size
[CategoryAttribute("Appearance")]
[DescriptionAttribute("Size of each item (including image and text) in pixels.")]
public:
property Size ItemSize {
Size get();
void set ( Size );
}
A System.Drawing.Size structure that specifies the size of each RasterImageListItem in this RasterImageList in pixels.
The ItemSize specifies the overall size of each item in the RasterImageList control.
When changing any of the item sizes or styles, you should pay special attention to the values you specify, in general, you should setup ItemSize to be large enough to accommodate ItemImageSize plus room for ItemBorderStyle and ItemImageBorderStyle. If you set the ShowItemText property to true, then you should also accommodate room for the item text in your calculations.
For more information about item appearance, refer to RasterImageList Appearance.
For an example, refer to DrawItem event.
Products |
Support |
Feedback: ItemSize Property (RasterImageList) - Leadtools.WinForms |
Introduction |
Help Version 19.0.2017.3.22
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.