Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
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;}
Managed Extensions for C++ 
[DescriptionAttribute("Size of spacing to leave between adjacent items in pixels.")]
[CategoryAttribute("Appearance")]
public: __property Size get_ItemSpacingSize();
public: __property void set_ItemSpacingSize( 
   Size value
);
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);
}

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