Class TableOfContents
A control that creates a table of content tree view from a GeoView.
Inheritance
Implements
Namespace: Esri.ArcGISRuntime.Toolkit.UI.Controls
Assembly: Esri.ArcGISRuntime.Toolkit.WPF.dll
Syntax
public class TableOfContents : TreeView, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IContainItemStorage, IAddChild
Constructors
Name | Description |
---|---|
TableOfContents() | Initializes a new instance of the TableOfContents class. |
Fields
Name | Description |
---|---|
BasemapItemTemplateProperty | Identifies the BasemapItemTemplate dependency property. |
GeoViewProperty | Identifies the GeoView dependency property. |
LayerItemTemplateProperty | Identifies the LayerItemTemplate dependency property. |
LegendInfoItemTemplateProperty | Identifies the LegendInfoItemTemplate dependency property. |
ShowLegendProperty | Identifies the ShowLegend dependency property. |
SublayerItemTemplateProperty | Identifies the SublayerItemTemplate dependency property. |
Properties
Name | Description |
---|---|
BasemapItemTemplate | Gets or sets the item template for each Basemap content entry. |
GeoView | Gets or sets the geoview that contain the layers whose symbology and description will be displayed. |
LayerItemTemplate | Gets or sets the item template for each ILayerContent entry. |
LegendInfoItemTemplate | Gets or sets the item template for each LegendInfo content entry. |
ShowLegend | Gets or sets a value indicating whether to show a legend for the layers in the tree view. |
SublayerItemTemplate | Gets or sets the item template for each ILayerContent entry that is not a Layer. |
Events
Name | Description |
---|---|
TocItemContextMenuOpening | Event fired by the TableOfContents when right-clicking a TocItem in the tree |