New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents a layout that arranges collection view items in a single line, either horizontally or vertically. This is the default layout for RadCollectionView and is ideal for simple lists with uniform spacing between items.

Definition

Namespace:Telerik.Maui.Controls.CollectionView

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class CollectionViewLinearLayout : CollectionViewLayoutBase

Inheritance: objectCollectionViewLayoutBaseCollectionViewLinearLayout

Inherited Members CollectionViewLayoutBase.ItemLengthPropertyCollectionViewLayoutBase.OrientationPropertyCollectionViewLayoutBase.ItemLengthCollectionViewLayoutBase.Orientation

Constructors

C#
public CollectionViewLinearLayout()

Fields

ItemSpacingProperty

BindableProperty

Identifies the ItemSpacing bindable property.

C#
public static readonly BindableProperty ItemSpacingProperty

Properties

Gets or sets the spacing (in device-independent units) between adjacent items in the linear layout. This spacing is applied consistently between all items in the layout direction.

C#
public double ItemSpacing { get; set; }