This document is archived and information here might be outdated.  Recommended version.


IMapControl2.OleDropEnabled Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IM > IMapControl2 Interface > IMapControl2.OleDropEnabled Property
ArcGIS Developer Help

IMapControl2.OleDropEnabled Property

Indicates if the MapControl will fire events when data is dragged over the control's window.

[Visual Basic .NET]
Public Property OleDropEnabled As Boolean
[C#]
public bool OleDropEnabled {get; set;}
[C++]
HRESULT get_OleDropEnabled(
void
);
[C++]
HRESULT put_OleDropEnabled(
);

Product Availability

Available with ArcGIS Engine.

Description

Indicates if the MapControl will accept data dragged from another application and fire the IMapControlEvents2::OnOleDrop event. By default the OleDropEnabled property is set to false.

See Also

IMapControl2 Interface