Skip to main content

DataControlBase.AllowInfiniteGridSize Field

Specifies whether the infinite grid height is allowed.

By default, this option is disabled. In this instance, if the grid's height measures infinite, (e.g. the grid is placed within a vertically oriented stack panel), an exception is thrown.

To avoid an exception, enable the AllowInfiniteGridSize option. In this instance, the grid 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.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v14.2.Core.dll

Declaration

public static bool AllowInfiniteGridSize
Public Shared AllowInfiniteGridSize As Boolean

Field Value

Type
Boolean
See Also