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

Defines the fluent API for configuring ListViewFlexSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class ListViewFlexSettingsBuilder<T> where T : class

Inheritance: objectListViewFlexSettingsBuilder<T>

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

Constructors

ListViewFlexSettingsBuilder method.

C#
public ListViewFlexSettingsBuilder(ListViewFlexSettings<T> container)
Parameters:containerListViewFlexSettings<T>

Properties

Gets or sets the Container.

C#
protected ListViewFlexSettings<T> Container { get; }

Methods

Defines the direction flex items are placed in the flex container. Think of flex items as primarily laying out either in horizontal rows or vertical columns. Valid values are: row: This is equivalent to flex-direction: row. This establishes the main-axis to be horizontal, thus defining the direction flex items are placed in the flex container: left to right in ltr; right to left in rtl.; row-reverse: This is equivalent to flex-direction: row-reverse. This establishes the main-axis to be horizontal, thus defining the direction flex items are placed in the flex container: right to left in ltr; left to right in rtl.; column: This is equivalent to flex-direction: column. This establishes the main-axis to be vertical, thus defining the direction flex items are placed in the flex container: top to bottom. or column-reverse: This is equivalent to flex-direction: column-reverse. This establishes the main-axis to be vertical, thus defining the direction flex items are placed in the flex container: bottom to top..

C#
public ListViewFlexSettingsBuilder<T> Direction(string value)
Parameters:valuestring

The value for Direction

Returns:

ListViewFlexSettingsBuilder<T>

Returns the current ListViewFlexSettingsBuilder<T> instance.

By default, flex items will all try to fit onto one line. Customizing the property defines how items wrap or not within flex continer. Valid values are: wrap: This is equivalent to flex-wrap: wrap. It allows flex items to wrap as needed onto multiple lines, from top to bottom.; nowrap: This is equivalent to flex-wrap: nowrap. All flex items will be on one line. or wrap-reverse:This is equivalent to flex-wrap: wrap-reverse. It allows flex items to wrap as needed onto multiple lines, from bottom to top..

C#
public ListViewFlexSettingsBuilder<T> Wrap(string value)
Parameters:valuestring

The value for Wrap

Returns:

ListViewFlexSettingsBuilder<T>

Returns the current ListViewFlexSettingsBuilder<T> instance.