Class CollectionViewLayoutBase
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.
Inheritance
Namespace: Telerik.Maui.Controls.CollectionView
Assembly: Telerik.Maui.Controls.dll
Syntax
public abstract class CollectionViewLayoutBase : BindableObject
Constructors
CollectionViewLayoutBase()
Declaration
protected CollectionViewLayoutBase()
Fields
ItemLengthProperty
Identifies the ItemLength bindable property.
Declaration
public static readonly BindableProperty ItemLengthProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
OrientationProperty
Identifies the Orientation bindable property.
Declaration
public static readonly BindableProperty OrientationProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Properties
ItemLength
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.
Declaration
public double ItemLength { get; set; }
Property Value
System.Double
|
Orientation
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.
Declaration
public Orientation Orientation { get; set; }
Property Value
Orientation
|