ArcObjects Library Reference (Controls)  

IMapControlDefault.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(
  VARIANT_BOOL* Enabled
);
[C++]
HRESULT put_OleDropEnabled(
  VARIANT_BOOL Enabled
);
[C++]

Parameters

Enabled [out, retval]   Enabled is a parameter of type VARIANT_BOOL Enabled [in]   Enabled is a parameter of type VARIANT_BOOL

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

IMapControlDefault Interface