UniformGridLayout.

ItemsStretch Property

Summary

Gets or sets a value that indicates how items are sized to fill the available space.
Namespace
Avalonia.Layout
Containing Type
UniformGridLayout

Syntax

public UniformGridLayoutItemsStretch ItemsStretch { get; set; }

Remarks

This property enables adaptive layout behavior where the items are sized to fill the available space along the non-scrolling axis, and optionally maintain their aspect ratio.

Value

Type Description
UniformGridLayoutItemsStretch An enumeration value that indicates how items are sized to fill the available space. The default is None.