UniformGridLayout.ItemsStretch Property

Definition

Gets or sets a value that indicates how items are sized to fill the available space.

C#
public UniformGridLayoutItemsStretch ItemsStretch { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::UniformGridLayoutItemsStretch::None")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::UniformGridLayoutItemsStretch::None")] set; }
C#
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::UniformGridLayoutItemsStretch::None")]
public UniformGridLayoutItemsStretch ItemsStretch { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::UniformGridLayoutItemsStretch::None")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::UniformGridLayoutItemsStretch::None")] set; }

Property Value

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

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

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.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6