property Column.AllowDragging as Boolean
Retrieves or sets a value indicating whether the user will be able to drag the column.

TypeDescription
Boolean A boolean expression indicating whether the user will be able to drag the column.

Use the AllowDragging property to forbid user to change the column's position by dragging. If the AllowDragging is false, the column's position cannot be changed by dragging it to another position. Use the AllowSizing property to allow user resizes a column at runtime.