Skip to main content

BaseLayoutItemCustomizationOptions.CanDrop() Method

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

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public bool CanDrop()

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