StructuredItemsView.ItemSizingStrategy 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 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.