ArcObjects Library Reference (Controls) |
|
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
Change layer rendering using the SymbologyControl (Code Files:
LayerRendering) |
Displaying a TOCControl context menu (Code Files:
TOCContextMenuForm) |
Implementing a property page for an ArcGIS Engine application (Code Files:
frmMain) |
Network Analyst Engine application (Code Files:
frmMain) |
Save a layer file in a MapControl application (Code Files:
frmMain) |
Schematics Engine application (Code Files:
MainForm) |
Tabbed feature inspector (Code Files:
EngineApplication) |
TOCControl metadata viewer (Code Files:
MetadataViewer) |
.NET Related Topics
Disabling or validating label edits in the TOCControl |
Using the TOCControl |