New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Definition

Constructors

C#
public GridLayout(ViewContext viewContext, IJavaScriptInitializer initializer)
Parameters:viewContextViewContextinitializerIJavaScriptInitializer

Properties

Defines the grid layout column definitions.

C#
public List<GridLayoutColumn> ColumnCollection { get; set; }

Defines the spacing between columns of the container.

C#
public string ColumnSpacing { get; set; }
C#
public string DeferredStyleString { get; set; }

Defines the horizontal align of the items in the grid column. Default value is Stretch.

C#
public HorizontalAlign HorizontalAlign { get; set; }
C#
public string InLineStyle { get; }

Defines the grid layout items.

C#
public List<GridLayoutItem> Items { get; set; }

Defines the grid layout row definitions.

C#
public List<GridLayoutRow> RowCollection { get; set; }

Defines the spacing between rows of the container.

C#
public string RowSpacing { get; set; }

Defines the vertical align of the items in the grid column. Default value is Stretch.

C#
public VerticalAlign VerticalAlign { get; set; }

Defines the width of the container.

C#
public string Width { get; set; }

Methods

Writes the deferred styes.

C#
public override void WriteDeferredStyles(TextWriter writer)
Parameters:writerTextWriter

The writer.

Overrides: WidgetBase.WriteDeferredStyles(TextWriter)

Writes the HTML.

C#
protected override void WriteHtml(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter

Overrides: WidgetBase.WriteHtml(HtmlTextWriter)