Show / Hide Table of Contents

Class TableOfContents

A control that creates a table of content tree view from a GeoView.

Inheritance
Object
DispatcherObject
DependencyObject
Visual
UIElement
FrameworkElement
Control
ItemsControl
TreeView
TableOfContents
Implements
IAnimatable
ISupportInitialize
IFrameworkInputElement
IInputElement
IQueryAmbient
IContainItemStorage
IAddChild
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

| Improve this Doc View Source

TableOfContents()

Initializes a new instance of the TableOfContents class.

Declaration
public TableOfContents()

Fields

| Improve this Doc View Source

BasemapItemTemplateProperty

Identifies the BasemapItemTemplate dependency property.

Declaration
public static readonly DependencyProperty BasemapItemTemplateProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

GeoViewProperty

Identifies the GeoView dependency property.

Declaration
public static readonly DependencyProperty GeoViewProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

LayerItemTemplateProperty

Identifies the LayerItemTemplate dependency property.

Declaration
public static readonly DependencyProperty LayerItemTemplateProperty
Field Value
Type Description
DependencyProperty
Remarks

If this is set to null, the SublayerItemTemplate will be used instead.

| Improve this Doc View Source

LegendInfoItemTemplateProperty

Identifies the LegendInfoItemTemplate dependency property.

Declaration
public static readonly DependencyProperty LegendInfoItemTemplateProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

ShowLegendProperty

Identifies the ShowLegend dependency property.

Declaration
public static readonly DependencyProperty ShowLegendProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

SublayerItemTemplateProperty

Identifies the SublayerItemTemplate dependency property.

Declaration
public static readonly DependencyProperty SublayerItemTemplateProperty
Field Value
Type Description
DependencyProperty

Properties

| Improve this Doc View Source

BasemapItemTemplate

Gets or sets the item template for each content entry.

Declaration
public DataTemplate BasemapItemTemplate { get; set; }
Property Value
Type Description
DataTemplate
See Also
SublayerItemTemplate
LayerItemTemplate
LegendInfoItemTemplate
| Improve this Doc View Source

GeoView

Gets or sets the geoview that contain the layers whose symbology and description will be displayed.

Declaration
public GeoView? GeoView { get; set; }
Property Value
Type Description
Nullable<GeoView>
| Improve this Doc View Source

LayerItemTemplate

Gets or sets the item template for each entry.

Declaration
public HierarchicalDataTemplate LayerItemTemplate { get; set; }
Property Value
Type Description
HierarchicalDataTemplate
Remarks

If this is set to null, the SublayerItemTemplate will be used instead.

See Also
SublayerItemTemplate
LegendInfoItemTemplate
BasemapItemTemplate
| Improve this Doc View Source

LegendInfoItemTemplate

Gets or sets the item template for each content entry.

Declaration
public DataTemplate LegendInfoItemTemplate { get; set; }
Property Value
Type Description
DataTemplate
See Also
SublayerItemTemplate
LayerItemTemplate
BasemapItemTemplate
| Improve this Doc View Source

ShowLegend

Gets or sets a value indicating whether to show a legend for the layers in the tree view.

Declaration
public bool ShowLegend { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

SublayerItemTemplate

Gets or sets the item template for each entry that is not a .

Declaration
public HierarchicalDataTemplate SublayerItemTemplate { get; set; }
Property Value
Type Description
HierarchicalDataTemplate
See Also
LegendInfoItemTemplate
LayerItemTemplate
BasemapItemTemplate

Events

| Improve this Doc View Source

TocItemContextMenuOpening

Event fired by the TableOfContents when right-clicking a TocItem in the tree

Declaration
public event EventHandler<TocItemContextMenuEventArgs> TocItemContextMenuOpening
Event Type
Type Description
EventHandler<TocItemContextMenuEventArgs>

Implements

IAnimatable
ISupportInitialize
IFrameworkInputElement
IInputElement
IQueryAmbient
IContainItemStorage
IAddChild
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX