API:Vcl.ComCtrls.TCustomHeaderControl.DragMode

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DragMode;

C++

__property DragMode = {default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomHeaderControl

Description

Specifies how the control initiates drag-and-drop or drag-and-dock operations.

Vcl.ComCtrls.TCustomHeaderControl.DragMode inherits from Vcl.Controls.TControl.DragMode. All content below this line refers to Vcl.Controls.TControl.DragMode.

Specifies how the control initiates drag-and-drop or drag-and-dock operations.

Use DragMode to control when the user can drag the control. Disable the drag-and-drop or drag-and-dock capability at run time by setting the DragMode property value to dmManual. Enable automatic dragging by setting DragMode to dmAutomatic. For more information about dmManual and dmAutomatic, see TDragMode.

See Also

Code Examples