LEADTOOLS WebForms and AJAX (Leadtools.Web assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
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;}
C++/CLI 
public:
property LayoutDirection LayoutDirection {
   LayoutDirection get();
   void set (    LayoutDirection value);
}

Property Value

The orientation of the thumbnail viewer.

Example

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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also