Leadtools.Web Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
Columns Property
See Also 
Leadtools.Web.Controls Namespace > WebThumbnailViewer Class : Columns Property




Gets or sets the number of columns of thumbnails that will be displayed.

Syntax

Visual Basic (Declaration) 
Public Property Columns As Integer
Visual Basic (Usage)Copy Code
Dim instance As WebThumbnailViewer
Dim value As Integer
 
instance.Columns = value
 
value = instance.Columns
C# 
public int Columns {get; set;}
Managed Extensions for C++ 
public: __property int get_Columns();
public: __property void set_Columns( 
   int value
);
C++/CLI 
public:
property int Columns {
   int get();
   void set (int value);
}

Return Value

The number of columns of thumbnails. Default is 0.

Example

Refer to ThumbsDirection

Remarks

A value of 0 means the control will dynamically calculate the number of columns based on the LayoutDirection property value.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also