Skip to main content

DXCollectionView.ReduceSizeToContent Property

Gets or sets whether the collection view reduces its size to occupy the minimum space needed for its content. This is a bindable property.

Namespace: DevExpress.Maui.CollectionView

Assembly: DevExpress.Maui.CollectionView.dll

NuGet Package: DevExpress.Maui.CollectionView

Declaration

public bool ReduceSizeToContent { get; set; }

Property Value

Type Default Description
Boolean false

true - The collection view content size is equal to the sum of sizes of all its items. The CollectionView immediately generates item views for all records in a data source; otherwise, false - The collection view content size is constrained by available space (parent container or screen).

See Also