Share via


StructuredItemsView.ItemsLayout Property

Definition

Gets or sets the layout strategy used to arrange items in the view.

public:
 property Microsoft::Maui::Controls::IItemsLayout ^ ItemsLayout { Microsoft::Maui::Controls::IItemsLayout ^ get(); void set(Microsoft::Maui::Controls::IItemsLayout ^ value); };
public Microsoft.Maui.Controls.IItemsLayout ItemsLayout { get; set; }
member this.ItemsLayout : Microsoft.Maui.Controls.IItemsLayout with get, set
Public Property ItemsLayout As IItemsLayout

Property Value

An IItemsLayout that defines how items are arranged. The default is a vertical LinearItemsLayout.

Remarks

Use LinearItemsLayout for single-row or single-column layouts, or GridItemsLayout for multi-column grids. The layout determines the scrolling direction and how items are positioned relative to each other.

Applies to