StructuredItemsView.ItemsLayout Property
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.
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.