TcxMCListBox.HeaderDragReorder Property
Specifies whether end-users can change the order of columns by dragging their headers.
Declaration
property HeaderDragReorder: Boolean read; write; default False;
Property Value
Type | Default |
---|---|
Boolean | False |
Remarks
Use the HeaderDragReorder property to specify whether headers can be dragged to reorder columns. If set to True, such drag and drop operations are allowed. Otherwise, attempts to drag column headers have no effect. Note that changing the order of columns at runtime doesn’t affect the data they display. The contents of the Items property remains the same after such operations.
Note
You can customize the appearance and behavior of column headers using the HeaderSections property. This property holds a collection of TcxHeaderSection objects that contain settings for individual columns headers. You can expose one more feature to end-users using properties of these objects. Set the AllowClick property to True to allow end-users to sort the list box by column values using a click on the column header.
The default value of the HeaderDragReorder property is False.