[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.DashboardLayoutBuilder

DashboardLayoutBuilder Class

Defines a builder to configurate DashboardLayout.

Implements
Namespace: C1.Web.Mvc.Fluent
Assembly: C1.AspNetCore.Mvc.dll
Syntax
public class DashboardLayoutBuilder : ControlBuilder<DashboardLayout, DashboardLayoutBuilder>, IHtmlContent

Constructors

Name Description
DashboardLayoutBuilder(DashboardLayout)

Creates one DashboardLayoutBuilder instance to configurate component.

Methods

Name Description
AllowDrag(bool)

Configurates AllowDrag. Sets a boolean value decides whether the tiles could be dragged.

AllowHide(bool)

Configurates AllowHide. Sets a boolean value decides whether the tiles could be hidden.

AllowMaximize(bool)

Configurates AllowMaximize. Sets a boolean value decides whether the tiles could be maximized.

AllowResize(bool)

Configurates AllowResize. Sets a boolean value decides whether the tiles could be resized.

AllowShowAll(bool)

Configurates AllowShowAll. Sets a boolean value decides whether all the tiles no matter visible or invisible are shown.

AttachAutoGridLayout(Action<AutoGridLayoutBuilder>)

Configurates Layout. Attaches a AutoGridLayout to the dashboard control.

AttachFlowLayout(Action<FlowLayoutBuilder>)

Configurates Layout. Attaches a FlowLayout to the dashboard control.

AttachManualGridLayout(Action<ManualGridLayoutBuilder>)

Configurates Layout. Attaches a ManualGridLayout to the dashboard control.

AttachSplitLayout(Action<SplitLayoutBuilder>)

Configurates Layout. Attaches a SplitLayout to the dashboard control.

LayoutId(string)

Configurates LayoutId. Sets the id of the layout applied

OnClientFormatTile(string)

Configurates the OnClientFormatTile client event. Occurs when an element representing a Tile has been created.

OnClientLayoutChanged(string)

Configurates the OnClientLayoutChanged client event. Occurs when the layout is changed.

OnClientTileActivated(string)

Configurates the OnClientTileActivated client event. Occurs when the tile is activated.

OnClientTileSizeChanged(string)

Configurates the OnClientTileSizeChanged client event. Occurs when the tile is maximized or restored.