ImageGear for .NET
Layout Property (ImGearThumbnailList)




Gets or sets a value indicationg thumbnails layout in the ImGearThumbnailList control.
Syntax
'Declaration
 
<CategoryAttribute("ImGearThumbnailList Properties")>
<BrowsableAttribute(True)>
<DefaultValueAttribute()>
<DescriptionAttribute("Gets or sets the thumbnails layout required in the ImGearThumbnailList control.")>
Public Property Layout As ImGearThumbnailLayout
'Usage
 
Dim instance As ImGearThumbnailList
Dim value As ImGearThumbnailLayout
 
instance.Layout = value
 
value = instance.Layout
[CategoryAttribute("ImGearThumbnailList Properties")]
[BrowsableAttribute(true)]
[DefaultValueAttribute()]
[DescriptionAttribute("Gets or sets the thumbnails layout required in the ImGearThumbnailList control.")]
public ImGearThumbnailLayout Layout {get; set;}
[CategoryAttribute("ImGearThumbnailList Properties")]
[BrowsableAttribute(true)]
[DefaultValueAttribute()]
[DescriptionAttribute("Gets or sets the thumbnails layout required in the ImGearThumbnailList control.")]
public: __property ImGearThumbnailLayout get_Layout();
public: __property void set_Layout( 
   ImGearThumbnailLayout value
);
[CategoryAttribute("ImGearThumbnailList Properties")]
[BrowsableAttribute(true)]
[DefaultValueAttribute()]
[DescriptionAttribute("Gets or sets the thumbnails layout required in the ImGearThumbnailList control.")]
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

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback