dragAction([action])
Class: ToolBar. Method inherited from UIComponent.
Description:
Sets or gets the drag action for this component (e.g., Copy, Move), and enables or disables dragging accordingly.
Passing None disables dragging; all other values enable it.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
One of enum values: DragDropAction.[None|Copy|Move|CopyOrMove|Link]. |
Returns:
Returns this component if argument is provided, otherwise returns string value as one of the DragDropAction enum values.
Type: string | this
