ComponentOne ASP.NET MVC Controls
Orientation Method (GridLayoutBuilder<TControl,TBuilder>)

C1.Web.Mvc.Fluent Namespace > GridLayoutBuilder<TControl,TBuilder> Class : Orientation Method
The value.
Configurates C1.Web.Mvc.GridLayout.Orientation. Sets the layout orientation.
Syntax
'Declaration
 
Public Function Orientation( _
   ByVal value As LayoutOrientation _
) As TBuilder
public TBuilder Orientation( 
   LayoutOrientation value
)

Parameters

value
The value.

Return Value

Current builder.
Remarks
Gets or sets the layout orientation.

When the Orientation for the AutoGridLayout is set to Horizontal, then the groups are added horizontally i.e. each new group is added to the right of the existing group. And when the Orientation is set to Vertical, then the groups are added vertically i.e. each new group is added to the bottom of the existing group.
See Also

Reference

GridLayoutBuilder<TControl,TBuilder> Class
GridLayoutBuilder<TControl,TBuilder> Members