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
BindableObject
Element
StyleableElement
NavigableElement
VisualElement
View
Layout
TemplatedView
Legend
Implements
INotifyPropertyChanged
IEffectControlProvider
IToolTipElement
IContextFlyoutElement
IAnimatable
IViewController
IVisualElementController
IElementController
IGestureController
IGestureRecognizers
IPropertyMapperView
IHotReloadableView
IReplaceableView
ILayout
ILayoutController
IVisualTreeElement
IContentView
IView
IElement
ITransform
IPadding
ICrossPlatformLayout
Namespace: Esri.ArcGISRuntime.Toolkit.Maui
Assembly: Esri.ArcGISRuntime.Toolkit.Maui.dll
Syntax
public class Legend : TemplatedView, INotifyPropertyChanged, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IViewController, IVisualElementController, IElementController, IGestureController, IGestureRecognizers, IPropertyMapperView, IHotReloadableView, IReplaceableView, ILayout, ILayoutController, IVisualTreeElement, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Constructors

Name Description
Legend()

Initializes a new instance of the Legend class.

Fields

Name Description
FilterByVisibleScaleRangeProperty

Identifies the FilterByVisibleScaleRange bindable property.

FilterHiddenLayersProperty

Identifies the FilterHiddenLayers bindable property.

GeoViewProperty

Identifies the GeoView bindable property.

LayerItemTemplateProperty

Identifies the LayerItemTemplate bindable property.

LegendInfoItemTemplateProperty

Identifies the LegendInfoItemTemplate bindable property.

ReverseLayerOrderProperty

Identifies the ReverseLayerOrder bindable property.

SublayerItemTemplateProperty

Identifies the SublayerItemTemplate bindable 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.

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()
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX