Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxMCListBox.HeaderDragReorder Property

Specifies whether end-users can change the order of columns by dragging their headers.

#Declaration

Delphi
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.

See Also