ImageGear .NET v25.1 - Updated
layout Property

ImageGear.Web.UI Library > ImageGear.Web.UI Namespace > ImGearThumbnailList class : layout Property
Gets or sets the layout for the thumbnails in the ImGearThumbnailList control.
Syntax
ASP.NET Ajax Javascript (Specification) 
function get_layout() : {Any}
function set_layout(value : {Any})
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfImGearThumbnailList.get_layout();
Remarks

This property defines the placement/arrangement of the thumbnails in the ImGearThumbnailList control. The value for this property is obtained from the enumeration ImGearThumbnailLayout. The default mode is ImageGear.Web.UI.ImGearThumbnailLayout.VerticalScrollDirection. In this mode, the number of columns will be calculated based on the number of thumbnail widths plus intra-thumbnail spaces that can fit in the control's width. The number of rows of thumbnails in the view will depend on the number of thumbnail heights plus intra-thumbnail space that fit in the height of the control. Those thumbnails that are not view can be brought into view using the Vertical scroll bar on the control. In the default mode, the scroll bar is always on the right hand side. The ImageGear.Web.UI.ImGearThumbnailsLayout.HorizontalScrollDirection option displays the thumbnails as a single horizontal band and has a horizontal scroll bar to bring into view the thumbnails that are not in the view.

If you change the value of this property, the control will raise propertyChanged event.

See Also

Reference

ImGearThumbnailList class
ImGearThumbnailList Members