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


esriTOCControlItem Constants (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Constants > E > esriTOCControlItem Constants
ArcGIS Developer Help

esriTOCControlItem Constants

TOCControl item options.

Constant Value Description
esriTOCControlItemNone 0 No item.
esriTOCControlItemMap 1 The item is a map.
esriTOCControlItemLayer 2 The item is a layer.
esriTOCControlItemHeading 3 The item is a heading.
esriTOCControlItemLegendClass 4 The item is a legend class.

Product Availability

Available with ArcGIS Engine.

.NET Samples

Tabbed feature inspector Save a layer file in a MapControl application ArcGIS Network Analyst extension Engine application Schematics Engine application Change layer rendering using the SymbologyControl Displaying a TOCControl context menu TOCControl metadata viewer