Back to Devexpress

DXCollectionView.ItemSpanSpacing Property

maui-devexpress-dot-maui-dot-collectionview-dot-dxcollectionview-55a57be6.md

latest1.6 KB
Original Source

DXCollectionView.ItemSpanSpacing Property

Gets or sets the gap between DXCollectionView item columns/rows (depending on Orientation). This is a bindable property.

Namespace : DevExpress.Maui.CollectionView

Assembly : DevExpress.Maui.CollectionView.dll

NuGet Package : DevExpress.Maui.CollectionView

Declaration

csharp
public double ItemSpanSpacing { get; set; }

Property Value

TypeDescription
Double

A value that specifies the gap between item columns/rows.

|

Remarks

The following image demonstrates how the ItemSpanSpacing property affects item layout:

xaml
<dxcv:DXCollectionView ...
                       ItemSpanSpacing="40">

Specify the ItemSpanCount property to define the number of layout columns in the DXCollectionView components.

Use the ItemSpacing property to define the distance between items.

See Also

DXCollectionView Class

DXCollectionView Members

DevExpress.Maui.CollectionView Namespace