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

Defines the fluent API for configuring the Kendo UI GridLayoutItem

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class GridLayoutItemBuilder

Inheritance: objectGridLayoutItemBuilder

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

Constructors

GridLayoutItemBuilder method.

C#
public GridLayoutItemBuilder(GridLayoutItem container)
Parameters:containerGridLayoutItem

Properties

Container member.

C#
protected GridLayoutItem Container { get; }

Methods

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

C#
public GridLayoutItemBuilder Column(int? value)
Parameters:valueint?

The column number position.

Returns:

GridLayoutItemBuilder

A new instance of GridLayoutItemBuilder for further configuration.

Defines the column index of the grid.

C#
public GridLayoutItemBuilder ColumnSpan(int? value)
Parameters:valueint?

The column span value.

Returns:

GridLayoutItemBuilder

A new instance of GridLayoutItemBuilder for further configuration.

Defines the content of the grid item.

C#
public GridLayoutItemBuilder Content(Action content)
Parameters:contentAction

The content to be set.

Returns:

GridLayoutItemBuilder

A new instance of GridLayoutItemBuilder for further configuration.

Defines the content of the grid item.

C#
public GridLayoutItemBuilder Content(Func<object, object> content)
Parameters:contentFunc<object, object>

A function that takes an object and returns an object.

Returns:

GridLayoutItemBuilder

A new instance of GridLayoutItemBuilder for further configuration.

Defines the content of the grid item.

C#
public GridLayoutItemBuilder Content(string content)
Parameters:contentstring

The HTML content to be rendered inside the grid item.

Returns:

GridLayoutItemBuilder

A new instance of GridLayoutItemBuilder for further configuration.

Sets the HTML attributes applied to the outer HTML element rendered for the item

C#
public GridLayoutItemBuilder HtmlAttributes(IDictionary<string, object> attributes)
Parameters:attributesIDictionary<string, object>

The attributes.

Returns:

GridLayoutItemBuilder

A new instance of GridLayoutItemBuilder for further configuration.

Sets the HTML attributes applied to the outer HTML element rendered for the item

C#
public GridLayoutItemBuilder HtmlAttributes(object attributes)
Parameters:attributesobject

The attributes.

Returns:

GridLayoutItemBuilder

A new instance of GridLayoutItemBuilder for further configuration.

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

C#
public GridLayoutItemBuilder Row(int? value)
Parameters:valueint?Returns:

GridLayoutItemBuilder

A new instance of GridLayoutItemBuilder for further configuration.

Defines the row span of the item.

C#
public GridLayoutItemBuilder RowSpan(int? value)
Parameters:valueint?

The row span value.

Returns:

GridLayoutItemBuilder

A new instance of GridLayoutItemBuilder for further configuration.