DragSourceInfo

Use

DragSourceInfo returns information about an object that can be moved using Drag & Drop.

Runtime Class

CL_WD_DRAG_SOURCE_INFO

Properties in View Designer

Name

Type

Initial Value

Bindable

id

STRING

(automatic)

No

data

STRING

Yes

enabled

WDY_BOOLEAN

true

Yes

mimeType

STRING

text/plain

No

mode

WDUI_DRAG_DROP_MODE

default

No

scope

WDUI_DRAG_DROP_SCOPE

componentInstance

No

tags

STRING

No

Aggregations in the View Designer

Name

Cardinality

Type

HINTS

0..n

NameValuePair

Dynamic Programming

For dynamic programming, the same properties, events, and aggregations as in the View Designer are available. But note that the spelling format and use of upper/lower case is different.

Dynamic Programming of Properties

View Designer Name

Runtime Name

Type

data

DATA

STRING

enabled

ENABLED

WDY_BOOLEAN

mimeType

MIME_TYPE

STRING

mode

MODE

WDUI_DRAG_DROP_MODE

CL_WD_DRAG_SOURCE_INFO=>E_MODE-DEFAULT

CL_WD_DRAG_SOURCE_INFO=>E_MODE-NATIVE

scope

SCOPE

WDUI_DRAG_DROP_SCOPE

scope: componentInstance

CL_WD_DRAG_SOURCE_INFO=>E_SCOPE-COMPONENT_INSTANCE

scope: global

CL_WD_DRAG_SOURCE_INFO=>E_SCOPE-GLOBAL

tags

TAGS

STRING

Name

Runtime Name

Cardinality

HINTS

HINTS

0..n

Example

You can find an example of this UI element in the system in the WDR_TEST_DRAG_AND_DROP component.