Serves as the base class for all layout strategies that can be used with RadCollectionView. This abstract class defines the fundamental properties and behaviors that all collection view layouts must implement.
Definition
Namespace:Telerik.Maui.Controls.CollectionView
Assembly:Telerik.Maui.Controls.dll
Syntax:
public abstract class CollectionViewLayoutBase : BindableObject
Inheritance: objectCollectionViewLayoutBase
Derived Classes:
Constructors
protected CollectionViewLayoutBase()
Fields
ItemLengthProperty
BindableProperty
Identifies the ItemLength bindable property.
public static readonly BindableProperty ItemLengthProperty
OrientationProperty
BindableProperty
Identifies the Orientation bindable property.
public static readonly BindableProperty OrientationProperty
Properties
Gets or sets the fixed length (width for vertical orientation, height for horizontal orientation) of individual items in the layout. When set to -1 (default), items will size themselves based on their content. When set to a positive value, all items will have uniform length.
public double ItemLength { get; set; }
Gets or sets the orientation that determines the primary direction of item arrangement in the layout. Vertical orientation arranges items in columns that scroll vertically, while horizontal orientation arranges items in rows that scroll horizontally.
public Orientation Orientation { get; set; }