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

TCustomdxPSExplorerItem.CanMoveTo(TCustomdxPSExplorerItem) Method

Indicates whether the item can be moved to the specified position.

#Declaration

Delphi
function CanMoveTo(AParent: TCustomdxPSExplorerItem): Boolean; overload; virtual;

#Parameters

Name Type
AParent TCustomdxPSExplorerItem

#Returns

Type
Boolean

#Remarks

The CanMoveTo method is called when changing the item’s Parent property value. This method’s return value indicates whether the item’s parent can be changed. In other words, it determines whether the item can be moved to another folder. The target folder is specified by the AParent parameter.

If the item can be moved, the CanMoveTo method returns True, otherwise, False is returned.

See Also