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


IPageLayoutControlDefault.OleDropEnabled Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Controls)  

IPageLayoutControlDefault.OleDropEnabled Property

Indicates if the PageLayoutControl 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* Value
);
[C++]
HRESULT put_OleDropEnabled(
  VARIANT_BOOL Value
);
[C++]

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

Product Availability

Available with ArcGIS Engine.

Description

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

See Also

IPageLayoutControlDefault Interface