-api-id | -api-type |
---|---|
P:Microsoft.UI.Xaml.Controls.LinedFlowLayout.MinItemSpacing |
winrt property |
Gets or sets the minimum space between items on the horizontal axis.
The minimum space (in pixels) between items on the horizontal axis. The default is 0.0.
The spacing may exceed this minimum value when ItemsStretch is set to None
and ItemsJustification is set to SpaceEvenly
, SpaceAround
, or SpaceBetween
.
<ItemsView ItemsSource="{x:Bind Photos}">
<ItemsView.Layout>
<LinedFlowLayout MinItemSpacing="6"/>
</ItemsView.Layout>
</ItemsView>