LinedFlowLayoutItemsStretch Enum

Definition

Defines constants that specify how items are sized to fill the available space in a LinedFlowLayout.

public enum class LinedFlowLayoutItemsStretch
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 327680)]
enum class LinedFlowLayoutItemsStretch
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 327680)]
public enum LinedFlowLayoutItemsStretch
Public Enum LinedFlowLayoutItemsStretch
Inheritance
LinedFlowLayoutItemsStretch
Attributes

Fields

Fill 1

The item is sized to fill the available space in the non-scrolling direction. Item size in the scrolling direction is not changed.

None 0

The item retains its natural size. Use of extra space is determined by the ItemsJustification property.

Remarks

This screenshot shows a gallery of photos laid out with the default stretch value of None.

An image gallery. Items in the first two rows are not stretched and there is blank space at the end of the rows.

This screenshot shows the same gallery of photos laid out with the stretch value of Fill.

A screenshot of an image gallery. Items in the first two rows are stretched horizontally to take up all available space.

Applies to