property Column.AllowSizing as Boolean

Retrieves or sets a value indicating whether the user will be able to change the width of the visible columns by dragging.

TypeDescription
Boolean A boolean expression indicating whether the user will be able to change the width of the visible columns by dragging.

Use the AllowSizing property to fix the column's width. Use the Width property of the column to change programmatically the column's width. Use the ColumnAutoResize property to fit all visible columns to the control's client area. Use the AllowDragging property to forbid user to change the column's position by dragging. Use the Width property to specify the column's width. Use the AllowSort property to avoid sorting a column when the user clicks the column's header.