Share via


RetailReplenishmentTreeDatasource.canDrop Method [AX 2012]

Indicates whether a drop on a specified target is enabled when the user performs a drag operation.

Syntax

public FormDrag canDrop(int idx, FormControl dragSource)

Run On

Client

Parameters

  • idx
    Type: int
    The ID of the target element in the tree control.

Return Value

Type: FormDrag Enumeration
The FormDrag::None enumeration value if the drop is not enabled; otherwise, the FormDrag::Move enumeration value.

Remarks

The function is overridden to disallow drag and drop functionality.

See Also

Reference

RetailReplenishmentTreeDatasource Class