[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.TileBuilder-2

TileBuilder<TControl, TBuilder> Class

Defines a builder to configurate Tile.

Inheritance
HideObjectMembers
BaseBuilder<TControl, TBuilder>
TileBuilder<TControl, TBuilder>
Namespace: C1.Web.Mvc.Fluent
Assembly: C1.AspNetCore.Mvc.dll
Syntax
public abstract class TileBuilder<TControl, TBuilder> : BaseBuilder<TControl, TBuilder> where TControl : Tile where TBuilder : TileBuilder<TControl, TBuilder>
Type Parameters
Name Description
TControl
TBuilder

Constructors

Name Description
TileBuilder(TControl)

Creates one TileBuilder<TControl, TBuilder> instance to configurate obj.

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.

Content(string)

Configurates Content. Sets the tile content(text/html) or the selector of a Dom element which contains the content.

HeaderText(string)

Configurates HeaderText. Sets the tile header title.

MaxResizeHeight(int)

Configurates MaxResizeHeight. Sets the default maximum height of the tile when resize.

MaxResizeWidth(int)

Configurates MaxResizeWidth. Sets the default maximum width of the tile when resize.

ShowHeader(bool)

Configurates ShowHeader. Sets a boolean value decides whether to show the header.

ShowToolbar(bool)

Configurates ShowToolbar. Sets a boolean value decides whether to show the toolbar.

Visible(bool)

Configurates Visible. Sets a boolean value decides whether to show the tile.