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

The class for the Telerik GridLayoutItem.

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class GridLayoutItem

Inheritance: objectGridLayoutItem

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

GridLayoutItem method.

C#
public GridLayoutItem()

Properties

Defines the column number position of the item in the grid.

C#
public int? Column { get; set; }

Defines the column index of the grid.

C#
public int? ColumnSpan { get; set; }

GridLayout member.

C#
public GridLayout GridLayout { get; set; }

Html member.

C#
public string Html { get; set; }

Defines the additional HTML attributes of the container.

C#
public IDictionary<string, object> HtmlAttributes { get; set; }
Property Value:

The HTML attributes.

Defines the row number position of the item in the grid.

C#
public int? Row { get; set; }

Defines the row span of the item.

C#
public int? RowSpan { get; set; }

Defines the content of the grid item.

C#
public Func<object, object> Template { get; set; }

TemplateAction member.

C#
public Action TemplateAction { get; set; }

Methods

WriteHtml method.

C#
public void WriteHtml(TextWriter writer, IKendoHtmlGenerator generator, HtmlEncoder encoder)
Parameters:writerTextWritergeneratorIKendoHtmlGeneratorencoderHtmlEncoder