Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DXCollectionView.ItemSize Property

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

Namespace: DevExpress.Maui.CollectionView

Assembly: DevExpress.Maui.CollectionView.dll

NuGet Package: DevExpress.Maui.CollectionView

#Declaration

C#
public double ItemSize { get; set; }

#Property Value

Type Default Description
Double -1

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