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.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

C#
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