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


IPageLayoutControl3.Enabled Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IP > IPageLayoutControl3 Interface > IPageLayoutControl3.Enabled Property
ArcGIS Developer Help

IPageLayoutControl3.Enabled Property

Indicates whether the PageLayoutControl can respond to user generated events.

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

Product Availability

Available with ArcGIS Engine.

Description

The Enabled property allows a PageLayoutControl to be enabled or disabled at run time. For example, you can disable Controls that don't apply to the current state of the application. A PageLayoutControl which is not enabled will not fire any mouse or keyboard events to its associated CurrentTool if any is set.

See Also

IPageLayoutControl3 Interface