BaseLayoutItemCustomizationOptions.CanDrop() Method

Returns whether other layout items can be dragged-and-dropped onto the current layout item.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.2.dll

Declaration

public bool CanDrop()
Public Function CanDrop As Boolean

Returns

Type Description
Boolean

true if other layout items can be dragged-and-dropped onto the current layout item; otherwise, false.

Remarks

Use the BaseLayoutItemCustomizationOptions.AllowDrop property to enable or disable the feature that allows other items to be dragged-and-dropped onto the current item. This property also allows you to specify that this feature should be controlled by the item's parent. The CanDrop method returns the actual value that specifies whether this feature is enabled for the current item, taking into account the parent's settings.

See Also