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 AllowSort property to avoid sorting a column when the user clicks the column's header. Use the AllowSizing property to allow user resizes a column at runtime. The HeaderEnabled property enables or disables the control's header (including the control's sort/groupby-bar). If the header is disabled, the user can't resize, sort or drag and drop any column.