Skip to main content
A newer version of this page is available. .

DragOverEventArgs.InsertIndicator Property

Gets or sets an image that represents the insert indicator.

Namespace: DevExpress.Utils.DragDrop

Assembly: DevExpress.Utils.v19.2.dll

Declaration

public Image InsertIndicator { get; set; }

Property Value

Type Description
Image

An Image object that specifies the insert indicator image.

Remarks

How to Disable the Insert Indicator

The DragDropManager.InsertIndicatorVisible setting allows you to disable the insert indicator for all controls. If this setting is enabled, you can disable a particular control’s insert indicator with the DragDropBehavior.Properties.InsertIndicatorVisible property.

How to Customize the Insert Indicator

To customize the insert indicator, handle the DragDropEvents.DragOver event.

The default insert indicator is a semi-transparent rectangle. The InsertIndicatorLocation and InsertIndicatorSize event arguments allow you to change its size and location.

You can also use the InsertIndicator event argument to provide a custom image instead of the default indicator.

See Also