Share via


StructuredItemsView.ItemSizingStrategy Property

Definition

Gets or sets the strategy used to measure and size items in the view.

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

Property Value

An ItemSizingStrategy value that determines how items are measured.

Remarks

The sizing strategy affects performance and layout behavior. Use MeasureAllItems to measure each item individually for accurate sizing, or MeasureFirstItem to use the first item's size as a template for better performance with uniform items.

Applies to