Skip to main content
A newer version of this page is available. .

BaseLayoutItemCustomizationOptions.CanDrag() Method

Returns whether the layout item can be dragged-and-dropped to another position.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v19.2.dll

Declaration

public bool CanDrag()

Returns

Type Description
Boolean

true if the layout item can be dragged-and-dropped to another position; otherwise, false.

Remarks

Use the BaseLayoutItemCustomizationOptions.AllowDrag property to enable or disable drag-and-drop for an item, or to specify that this feature is controled by the item’s parent. The CanDrag method returns the actual value that specifies whether drag-and-drop is enabled for the current item, taking into account the parent’s settings.

See Also