DXCollectionView.ItemSize Property
In This Article
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