Skip to main content

DXCollectionView.ItemSpacing Property

Gets or sets the gap between items in a collection view. This is a bindable property.

Namespace: DevExpress.Maui.CollectionView

Assembly: DevExpress.Maui.CollectionView.dll

NuGet Package: DevExpress.Maui.CollectionView

Declaration

public double ItemSpacing { get; set; }

Property Value

Type Description
Double

A value that specifies the amount of space between collection view items.

Remarks

The following image demonstrates how the ItemSpacing property affects DXCollectionView item layout:

DevExpress CollectionView for .NET MAUI - Item spacing

<dxcv:DXCollectionView ... 
                       ItemSpacing="20">

In multi-span mode, you can use the ItemSpanSpacing property to specify the gap between layout columns or rows (depending on DXCollectionView.Orientation.

See Also