ComponentOne ASP.NET MVC Controls
Align Method

C1.Web.Mvc.Fluent Namespace > ColumnBaseBuilder<TControl,TBuilder> Class : Align Method
The value.
Configurates C1.Web.Mvc.ColumnBase.Align. Sets the horizontal alignment of items in this column.
Syntax
'Declaration
 
Public Function Align( _
   ByVal value As String _
) As TBuilder
public TBuilder Align( 
   string value
)

Parameters

value
The value.

Return Value

Current builder.
Remarks
The default value for this property is null, which causes the grid to select the alignment automatically based on column's dataType (numbers are right-aligned, boolean values are centered, other types are left-aligned).If you want to override the default alignment, set this property to 'left', 'right', or 'center'.
See Also

Reference

ColumnBaseBuilder<TControl,TBuilder> Class
ColumnBaseBuilder<TControl,TBuilder> Members