LEADTOOLS Windows Forms (Leadtools.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
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) 
<DescriptionAttribute("Size of spacing to leave between adjacent items in pixels.")>
<CategoryAttribute("Appearance")>
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# 
[DescriptionAttribute("Size of spacing to leave between adjacent items in pixels.")]
[CategoryAttribute("Appearance")]
public Size ItemSpacingSize {get; set;}
C++/CLI 
[DescriptionAttribute("Size of spacing to leave between adjacent items in pixels.")]
[CategoryAttribute("Appearance")]
public:
property Size ItemSpacingSize {
   Size get();
   void set (    Size value);
}

Property Value

A System.Drawing.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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also