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




ImageGear24.Web Assembly > ImageGear.Web.UI Namespace > ImGearThumbnailList Class : Layout Property
Gets or sets a value indicationg thumbnails layout in the ImGearThumbnailList control.
Syntax
'Declaration
 
<DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
<CategoryAttribute("ImGearThumbnailList Properties")>
<DescriptionAttribute("Gets or sets the thumbnails layout required in the ImGearThumbnailList control.")>
<BrowsableAttribute(True)>
Public Property Layout As ImGearThumbnailLayout
'Usage
 
Dim instance As ImGearThumbnailList
Dim value As ImGearThumbnailLayout
 
instance.Layout = value
 
value = instance.Layout
[DefaultValue(Mono.Cecil.CustomAttributeArgument)]
[Category("ImGearThumbnailList Properties")]
[Description("Gets or sets the thumbnails layout required in the ImGearThumbnailList control.")]
[Browsable(true)]
public ImGearThumbnailLayout Layout {get; set;}
[DefaultValue(Mono.Cecil.CustomAttributeArgument)]
[Category("ImGearThumbnailList Properties")]
[Description("Gets or sets the thumbnails layout required in the ImGearThumbnailList control.")]
[Browsable(true)]
public: __property ImGearThumbnailLayout get_Layout();
public: __property void set_Layout( 
   ImGearThumbnailLayout value
);
[DefaultValue(Mono.Cecil.CustomAttributeArgument)]
[Category("ImGearThumbnailList Properties")]
[Description("Gets or sets the thumbnails layout required in the ImGearThumbnailList control.")]
[Browsable(true)]
public:
property ImGearThumbnailLayout Layout {
   ImGearThumbnailLayout get();
   void set (    ImGearThumbnailLayout value);
}

Property Value

One of value of type ImGearThumbnailLayout
Remarks

The default value is ImGearThumbnailLayout.VerticalScrollDirection.

To display thumbnails in a grid format, use the option ImGearThumbnailLayout.VerticalScrollDirection. This mode will also display thumbnails in a single vertical column. For this, make sure that the width of your control is just a little wider than the thumbnail width plus allowances for the scroll bar and spacing on each side of the thumbnail(XSpacing and YSpacing in the default mode styling).

To display thumbnails in a single horizontal row, choose the ImGearThumbnailLayout.HorizontalScrollDirection option.

See Also

Reference

ImGearThumbnailList Class
ImGearThumbnailList Members