ImageGear .NET v25.2 - Updated
ImageGear.Wpf Assembly / ImageGear.WPF 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()>
    <ImGearFilterAttribute("Default")>
    Public Property YSpacing As Integer
    'Usage
     
    Dim instance As ImGearThumbnailCtl
    Dim value As Integer
     
    instance.YSpacing = value
     
    value = instance.YSpacing
    [Category("Appearance")]
    [Description()]
    [ImGearFilter("Default")]
    public int YSpacing {get; set;}
    [Category("Appearance")]
    [Description()]
    [ImGearFilter("Default")]
    public: __property int get_YSpacing();
    public: __property void set_YSpacing( 
       int value
    );
    [Category("Appearance")]
    [Description()]
    [ImGearFilter("Default")]
    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 TitlesVisibility is set to Visible, the YSpacing measures the distance from the bottom of a title to the top of the item below it. When TitlesVisibility is Collapsed, the YSpacing measures the distance from the bottom of the item to the top of the one below it.
    See Also