ComponentOne ASP.NET MVC Controls
FlowTile Class
Members  Example 

C1.Web.Mvc Namespace : FlowTile Class
Defines a class represents the tile in the flow layout.
Syntax
'Declaration
 
Public Class FlowTile 
   Inherits Tile
public class FlowTile : Tile 
Remarks

The FlowTile class provides properties used to configure the Tile rendered in FlowLayout. The following options for the AutoGridTile can be set using this class:

1. The drag operation for the tile can be enabled/disabled by setting the AllowDrag property.

2. The AllowHide property is used to display or hide, the hide icon used to toggle the  visibility of the tile.

3. The tile can even be displayed in the maximized state using  the AllowMaximize property. The tile can even be resized to a custom size when the AllowResize property is set to true.

4. The header of the tile is defined by using the HeaderText property and the content displayed in the tile is defined using the content property.

5. The header and toolbar of the tile can be hidden/displayed by setting the ShowHeader/ShowToolbar property respectively.

Example
@(Html.C1().DashboardLayout().Id("SampleDashboard")
        .AttachFlowLayout(flb => flb.Direction(FlowDirection.LeftToRight)
        .Items(isb =>
        {           
            isb.Add(ftb => ftb.HeaderText("CategorySales")
                .Content("#CategorySales").Width(450).Height(300));
            isb.Add(ftb => ftb.HeaderText("Products Stock").ShowHeader(false)
                .Content("#ProductsStock").Width(450).Height(300));
            isb.Add(ftb => ftb.HeaderText("Product Details").ShowToolbar(false)
                .Content("#ProductDetails").Width(500).Height(250));
        }))
)
Inheritance Hierarchy

System.Object
   C1.Web.Mvc.Tile
      C1.Web.Mvc.FlowTile

See Also

Reference

FlowTile Members
C1.Web.Mvc Namespace