Skip to content

AutoColumnSizing Property

Description

Specifies if AutoColumnSizing should be used.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property AutoColumnSizing() As Boolean

Remarks

If True, all columns are sized to fill the entire width of the GridControl. When the GridControl is resized, the columns will automatically be resized to fit the new size of the ReportControl.

If False, the columns will use the width they were assigned when they were created, or whatever value is stored in the column's width property. The column widths may occupy more or less than the total width of the GridControl. If the total width of the columns exceeds the width of the GridControl, then those columns will not be visible. When the GridControl is resized, the size of the columns will not be affected.

You can also set each column's AutoSize property manually.

Example

wndGridControl.AutoColumnSizing = False

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.