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

DragOverEventArgs.InsertIndicatorSize Property

Gets or sets the size of the default insert indicator.

Namespace: DevExpress.Utils.DragDrop

Assembly: DevExpress.Utils.v24.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#Declaration

public Size InsertIndicatorSize { get; set; }

#Property Value

Type Description
Size

A Size structure that specifies the size of the default insert indicator.

#Remarks

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.

Handle the DragDropEvents.DragOver event to customize the insert indicator.

The default insert indicator is a semi-transparent rectangle.

Insert Indicator

The InsertIndicatorLocation and InsertIndicatorSize event arguments allow you to customize its size and position.

You can also use the InsertIndicator event argument to display a custom image.

See Also