ComponentOne ASP.NET MVC Controls
AutoGridTile Class
Members  Example 

C1.Web.Mvc Namespace : AutoGridTile Class
Defines a class represents the tile for the auto grid layout.
Public Class AutoGridTile 
   Inherits GridTile
public class AutoGridTile : GridTile 

The AutoGridTile class provides properties used to configure the Tile rendered in AutoGridLayout. 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.

6. The ColumnSpan/RowSpam properties are used to define the number of column and rows spanned by a Tile.

         .AttachAutoGridLayout(mglb => mglb.Orientation(LayoutOrientation.Vertical)
             .Items(isb =>
                 isb.Add().Children(cb =>
                     cb.Add().HeaderText(""Category Sales"")
                     cb.Add().HeaderText(""Products Stock"")
                 isb.Add().Children(cb =>
                     cb.Add().HeaderText(""Product Details"")
Inheritance Hierarchy


See Also


AutoGridTile Members
C1.Web.Mvc Namespace