ImageGear .NET v25.2 - Updated
ImageGear.Windows.Forms Assembly / ImageGear.Windows.Forms.Thumbnails Namespace / ImGearThumbnailCtl Class / YSpacing Property




In This Topic
    YSpacing Property (ImGearThumbnailCtl)
    In This Topic
    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