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.CanDrop() Method

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

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.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