IItemsLayout Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.