Back to Devexpress

DragOverEventArgs.InsertIndicatorSize Property

windowsforms-devexpress-dot-utils-dot-dragdrop-dot-dragovereventargs-2e3f7f1b.md

latest2.3 KB
Original Source

DragOverEventArgs.InsertIndicatorSize Property

Gets or sets the size of the default insert indicator.

Namespace : DevExpress.Utils.DragDrop

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

csharp
public Size InsertIndicatorSize { get; set; }
vb
Public Property InsertIndicatorSize As Size

Property Value

TypeDescription
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.

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

DragOverEventArgs Class

DragOverEventArgs Members

DevExpress.Utils.DragDrop Namespace