ImageGear .NET v24.12 - Updated
YSpacing Property (ImGearThumbnailCtl)




ImageGear24.Windows.Forms Assembly > ImageGear.Windows.Forms.Thumbnails Namespace > ImGearThumbnailCtl Class : YSpacing Property
Gets or sets the amount of vertical space between thumbnails displayed on the control, in pixels.
Syntax
'Declaration
 
<CategoryAttribute("Appearance")>
<DescriptionAttribute()>
Public Property YSpacing As Integer
'Usage
 
Dim instance As ImGearThumbnailCtl
Dim value As Integer
 
instance.YSpacing = value
 
value = instance.YSpacing
[Category("Appearance")]
[Description()]
public int YSpacing {get; set;}
[Category("Appearance")]
[Description()]
public: __property int get_YSpacing();
public: __property void set_YSpacing( 
   int value
);
[Category("Appearance")]
[Description()]
public:
property int YSpacing {
   int get();
   void set (    int value);
}

Property Value

Integer value.
Remarks
When set to (-1) it will use the default spacing that Windows uses for icons. When ShowTitles = true, the YSpacing measures the distance from the bottom of a title to the top of the item below it. When ShowTitles = false, the YSpacing measures the distance from the bottom of the item to the top of the one below it.
See Also

Reference

ImGearThumbnailCtl Class
ImGearThumbnailCtl Members