Show / Hide Table of Contents

Class Legend

The Legend control is used to display symbology and description for a set of Layers in a Map or Scene contained in a GeoView.

Inheritance
object
DependencyObject
UIElement
FrameworkElement
Control
Legend
Implements
IEquatable<DependencyObject>
IAnimationObject
IVisualElement
IVisualElement2
IEquatable<UIElement>
IEquatable<FrameworkElement>
IWinRTObject
IUnmanagedVirtualMethodTableProvider
IDynamicInterfaceCastable
IEquatable<Control>
Namespace: Esri.ArcGISRuntime.Toolkit.UI.Controls
Assembly: Esri.ArcGISRuntime.Toolkit.WinUI.dll
Syntax
[WinRTRuntimeClassName("Microsoft.UI.Xaml.IUIElementOverrides")]
[WinRTExposedType(typeof(Esri_ArcGISRuntime_Toolkit_UI_Controls_CompassWinRTTypeDetails))]
public class Legend : Control, IEquatable<DependencyObject>, IAnimationObject, IVisualElement, IVisualElement2, IEquatable<UIElement>, IEquatable<FrameworkElement>, IWinRTObject, IUnmanagedVirtualMethodTableProvider, IDynamicInterfaceCastable, IEquatable<Control>

Constructors

Name Description
Legend()

Initializes a new instance of the Legend class.

Fields

Name Description
FilterByVisibleScaleRangeProperty

Identifies the FilterByVisibleScaleRange dependency property.

FilterHiddenLayersProperty

Identifies the FilterHiddenLayers dependency property.

GeoViewProperty

Identifies the GeoView dependency property.

ItemTemplateSelectorProperty

Identifies the ItemTemplateSelector dependency property.

LayerItemTemplateProperty

Identifies the LayerItemTemplate dependency property.

LegendInfoItemTemplateProperty

Identifies the LegendInfoItemTemplate dependency property.

ReverseLayerOrderProperty

Identifies the ReverseLayerOrder dependency property.

SublayerItemTemplateProperty

Identifies the SublayerItemTemplate dependency property.

Properties

Name Description
FilterByVisibleScaleRange

Gets or sets a value indicating whether the scale of GeoView and any scale ranges on the Layers are used to determine when legend for layer is displayed.

FilterHiddenLayers

Gets or sets a value indicating whether the visibility of a Layer is used to determine when the legend for the layer is displayed.

GeoView

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

ItemTemplateSelector

Gets or sets the template selector used for selecting templates for each entry in the list.

LayerItemTemplate

Gets or sets the item template for each Layer entry.

LegendInfoItemTemplate

Gets or sets the item template for each LegendInfo content entry.

ReverseLayerOrder

Gets or sets a value indicating whether the order of layers in the GeoView are displayed top to bottom.

SublayerItemTemplate

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

Methods

Name Description
OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().

In this article
Back to top Generated by DocFX