Gets or sets whether the infinite GridControl’s height is allowed.
NuGet Package: DevExpress.Wpf.Grid.Core
In the case of the default value, the
InfiniteGridSizeException is thrown if the GridControl’s height is infinite (for example, the grid is placed in a vertically oriented stack panel).
To avoid the exception:
- Use a container that limits the GridControl’s size, or
- Set the
MaxHeightproperty to a certain value in your GridControl, or
true. In this case, the GridControl immediately generates rows for all records in a data source. Note this may cause performance issues if the data source contains a lot of records.