Skip to main content

DXCollectionView.ReduceSizeToContent Property

Gets or sets whether the collection view reduces its overall size to occupy the minimum space needed for its data items.

Namespace: DevExpress.XamarinForms.CollectionView

Assembly: DevExpress.XamarinForms.CollectionView.dll

NuGet Package: DevExpress.XamarinForms.CollectionView

#Declaration

C#
public bool ReduceSizeToContent { get; set; }

#Property Value

Type Description
Boolean

true if the collection view size is reduced to fit its content; otherwise, false.

#Remarks

This property can be useful when the collection view content size is less than the size of available space (parent container or screen).

See Also