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




Gets or sets the orientation of the thumbnail viewer.

Syntax

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

Return Value

The orientation of the thumbnail viewer.

Example

Refer to Add

Remarks

If both the Rows property and the Columns property are each equal to the default value (0), this property will determine the orientation of the thumbnails in the viewer.

If the Rows * Columns value is greater than the number of the thumbnails in the viewer, this property will determine which property should be used.

For example: if Rows = 3, Columns = 3, the number of thumbnails (Count) is 6, and this property is set to Horizontal then the final view would be 2 rows x 3 coulmns.

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