Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ItemSpacingSize Property
See Also 
Leadtools.WinForms Namespace > RasterImageList Class : ItemSpacingSize Property



Gets or sets the amount of space between adjacent items in the control.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Appearance")>
<DescriptionAttribute("Size of spacing to leave between adjacent items in pixels.")>
Public Property ItemSpacingSize As Size
Visual Basic (Usage)Copy Code
Dim instance As RasterImageList
Dim value As Size
 
instance.ItemSpacingSize = value
 
value = instance.ItemSpacingSize
C# 
[CategoryAttribute("Appearance")]
[DescriptionAttribute("Size of spacing to leave between adjacent items in pixels.")]
public Size ItemSpacingSize {get; set;}
C++/CLI 
[CategoryAttribute("Appearance")]
[DescriptionAttribute("Size of spacing to leave between adjacent items in pixels.")]
public:
property Size ItemSpacingSize {
   Size get();
   void set (Size value);
}

Return Value

A Size structure that contains the amount of space between adjacent items in this RasterImageList control in pixels.

Example

For an example, refer to ItemBorderStyle

Remarks

For more information about item appearance, refer to RasterImageList Appearance.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also