[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.GridLayoutBuilder-2

GridLayoutBuilder<TControl, TBuilder> Class

Defines a builder to configurate GridLayout.

Inheritance
HideObjectMembers
BaseBuilder<TControl, TBuilder>
ComponentBuilder<TControl, TBuilder>
ServiceBuilder<TControl, TBuilder>
LayoutBaseBuilder<TControl, TBuilder>
GridLayoutBuilder<TControl, TBuilder>
Implements
Namespace: C1.Web.Mvc.Fluent
Assembly: C1.AspNetCore.Mvc.dll
Syntax
public abstract class GridLayoutBuilder<TControl, TBuilder> : LayoutBaseBuilder<TControl, TBuilder>, IHtmlContent, ITemplateBuilder<TBuilder> where TControl : GridLayout where TBuilder : GridLayoutBuilder<TControl, TBuilder>
Public MustInherit Class GridLayoutBuilder(Of TControl As GridLayout, TBuilder As GridLayoutBuilder(Of TControl, TBuilder))
    Inherits LayoutBaseBuilder(Of TControl, TBuilder)
    Implements IHtmlContent, ITemplateBuilder(Of TBuilder)
Type Parameters
Name Description
TControl
TBuilder

Constructors

Name Description
GridLayoutBuilder(TControl)

Creates one GridLayoutBuilder<TControl, TBuilder> instance to configurate service.

Methods

Name Description
CellSize(int)

Configurates CellSize. Sets the size of the cell in the grid layout. It is in pixels.

CellSpacing(int)

Configurates CellSpacing. Sets the spacing of the cell in the grid layout. It is in pixels.

GroupSpacing(int)

Configurates GroupSpacing. Sets the spacing of the group in the grid layout. It is in pixels.

MaxRowsOrColumns(int)

Configurates MaxRowsOrColumns. Sets the maximum number of the row count or the column count.

Orientation(LayoutOrientation)

Configurates Orientation. Sets the layout orientation.