property Column.AllowDragging as Boolean

Retrieves or sets a value indicating whether the column can be dragged to a new position using the mouse.

TypeDescription
Boolean A boolean expression indicating whether the column can be dragged to a new position using the mouse.

Use the AllowDragging property to forbid user to change the column's position by dragging. Use the Position property of the Column object to change programmatically the column's position. Use the AllowSizing property to allow user resizes a column at runtime. Use the AllowSort property to avoid sorting a column when the user clicks the column's header