BaseLayoutItemCustomizationOptions.CanDrag() Method
Returns whether the layout item can be dragged-and-dropped to another position.
Namespace: DevExpress.XtraLayout
Assembly: DevExpress.XtraLayout.v24.2.dll
Declaration
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