ImageGear .NET v24.12 - Updated
XSpacing Property (ImGearThumbnailList)




ImageGear24.Web Assembly > ImageGear.Web.UI Namespace > ImGearThumbnailList Class : XSpacing Property
Gets or sets the amount of horizontal space between thumbnails displayed in the control.
Syntax
'Declaration
 
<BrowsableAttribute(True)>
<CategoryAttribute("ImGearThumbnailList Properties")>
<DefaultValueAttribute(4)>
<DescriptionAttribute("Gets or sets a value in pixel units (CSS px) indicating the horizontal space between thumbnail items.")>
Public Property XSpacing As Integer
'Usage
 
Dim instance As ImGearThumbnailList
Dim value As Integer
 
instance.XSpacing = value
 
value = instance.XSpacing
[Browsable(true)]
[Category("ImGearThumbnailList Properties")]
[DefaultValue(4)]
[Description("Gets or sets a value in pixel units (CSS px) indicating the horizontal space between thumbnail items.")]
public int XSpacing {get; set;}
[Browsable(true)]
[Category("ImGearThumbnailList Properties")]
[DefaultValue(4)]
[Description("Gets or sets a value in pixel units (CSS px) indicating the horizontal space between thumbnail items.")]
public: __property int get_XSpacing();
public: __property void set_XSpacing( 
   int value
);
[Browsable(true)]
[Category("ImGearThumbnailList Properties")]
[DefaultValue(4)]
[Description("Gets or sets a value in pixel units (CSS px) indicating the horizontal space between thumbnail items.")]
public:
property int XSpacing {
   int get();
   void set (    int value);
}

Property Value

An integer value.
Remarks

The default value is 4 pixel units

This property gets or sets the border color for thumbnails displayed in the control. Note: This property is relevant when choosing the default mode control style with the UseDefaultStyling set to true;

See Also

Reference

ImGearThumbnailList Class
ImGearThumbnailList Members