Skip to main content

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

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