Back to Devexpress

DXCollectionView.ReduceSizeToContent Property

maui-devexpress-dot-maui-dot-collectionview-dot-dxcollectionview-4e577067.md

latest1.2 KB
Original Source

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

csharp
public bool ReduceSizeToContent { get; set; }

Property Value

TypeDefaultDescription
Booleanfalse

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

DXCollectionView Class

DXCollectionView Members

DevExpress.Maui.CollectionView Namespace