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

BaseLayoutItemCustomizationOptions.AllowDrag Property

Gets or sets whether the current layout item/group can be dragged-and-dropped to another position.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(ItemDragDropMode.Default)]
[XtraSerializableProperty]
public ItemDragDropMode AllowDrag { get; set; }

#Property Value

Type Default Description
DevExpress.XtraLayout.ItemDragDropMode Default

An ItemDragDropMode value that specifies whether the current item/group can be dragged-and-dropped to another position.

#Property Paths

You can access this nested property as listed below:

Object Type Path to AllowDrag
BaseLayoutItem
.OptionsCustomization .AllowDrag

#Remarks

If the AllowDrag property is set to Default or UseParentOptions, the ability to drag-and-drop the current item/group is specified by the AllowDrag property of the item’s parent.

See Also