Skip to main content

DXCollectionView.ItemSize Property

Gets or sets a data item’s height (for vertical orientation of the view) or width (for horizontal orientation).

Namespace: DevExpress.XamarinForms.CollectionView

Assembly: DevExpress.XamarinForms.CollectionView.dll

NuGet Package: DevExpress.XamarinForms.CollectionView

Declaration

public double ItemSize { get; set; }

Property Value

Type Description
Double

The height or width of items.

Remarks

DXCollectionView automatically adjusts the height (or width, if the Orientation property is set to Horizontal) of data items to display their entire content but sets an item’s size not less than MinItemSize. If you specify the ItemSize property, all data items have the same height (width).

To change the height (width) of group headers, use the GroupHeaderSize property.

See Also