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.v19.2.dll
Declaration
[XtraSerializableProperty]
[DefaultValue(ItemDragDropMode.Default)]
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 |
---|---|
LayoutViewCard |
|
LayoutViewField |
|
BaseLayoutItem |
|
EmptySpaceItem |
|
LayoutControlGroup |
|
LayoutControlItem |
|
LayoutGroup |
|
LayoutItem |
|
LayoutItemContainer |
|
LayoutRepositoryItem |
|
SplitterItem |
|
TabbedControlGroup |
|
TabbedGroup |
|
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