Gets or sets whether the infinite GridControl's height is allowed. If true, the InfiniteGridSizeException is not raised.
The default is false. In this case, if the GridControl's height measures infinite, (for example, the grid is placed within a vertically oriented stack panel), the InfiniteGridSizeException is thrown.
To avoid the exception:
- Use a container that limits the GridControl's size, or
- Set the MaxHeight property to a certain value in your GridControl, or
- Set AllowInfiniteGridSize to 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.