Share via


IItemsLayout Interface

Definition

Defines the contract for an items layout that arranges items in collection and carousel views.

public interface class IItemsLayout : System::ComponentModel::INotifyPropertyChanged
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.ItemsLayoutTypeConverter))]
public interface IItemsLayout : System.ComponentModel.INotifyPropertyChanged
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.ItemsLayoutTypeConverter))>]
type IItemsLayout = interface
    interface INotifyPropertyChanged
Public Interface IItemsLayout
Implements INotifyPropertyChanged
Derived
Attributes
Implements

Remarks

This interface serves as a marker for classes that define how items are laid out in views like CollectionView and CarouselView. Implementations include LinearItemsLayout for single-row/column layouts and GridItemsLayout for grid-based layouts. The type converter attribute enables XAML parsing of layout specifications.

Applies to