Show / Hide Table of Contents

Class Legend

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

Inheritance
Object
Legend
Namespace: Esri.ArcGISRuntime.Toolkit.Maui
Assembly: Esri.ArcGISRuntime.Toolkit.Maui.dll
Syntax
public class Legend : TemplatedView

Constructors

| Improve this Doc View Source

Legend()

Initializes a new instance of the Legend class.

Declaration
public Legend()

Fields

| Improve this Doc View Source

FilterByVisibleScaleRangeProperty

Identifies the FilterByVisibleScaleRange bindable property.

Declaration
public static readonly BindableProperty FilterByVisibleScaleRangeProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

FilterHiddenLayersProperty

Identifies the FilterHiddenLayers bindable property.

Declaration
public static readonly BindableProperty FilterHiddenLayersProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

GeoViewProperty

Identifies the GeoView bindable property.

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

LayerItemTemplateProperty

Identifies the LayerItemTemplate bindable property.

Declaration
public static readonly BindableProperty LayerItemTemplateProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

LegendInfoItemTemplateProperty

Identifies the LegendInfoItemTemplate bindable property.

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

ReverseLayerOrderProperty

Identifies the ReverseLayerOrder bindable property.

Declaration
public static readonly BindableProperty ReverseLayerOrderProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

SublayerItemTemplateProperty

Identifies the SublayerItemTemplate bindable property.

Declaration
public static readonly BindableProperty SublayerItemTemplateProperty
Field Value
Type Description
BindableProperty

Properties

| Improve this Doc View Source

FilterByVisibleScaleRange

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

Declaration
public bool FilterByVisibleScaleRange { get; set; }
Property Value
Type Description
Boolean

If true, legend for layer is displayed only when layer is in visible scale range; otherwise, false, legend for layer is displayed regardless of its scale range.

| Improve this Doc View Source

FilterHiddenLayers

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

Declaration
public bool FilterHiddenLayers { get; set; }
Property Value
Type Description
Boolean

If true, legend for the layer and sublayers is displayed only when the layer's property is true.

| 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>
See Also
GeoViewProperty
| Improve this Doc View Source

LayerItemTemplate

Gets or sets the item template for each entry.

Declaration
public DataTemplate? LayerItemTemplate { get; set; }
Property Value
Type Description
Nullable<DataTemplate>
Remarks

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

See Also
SublayerItemTemplate
LegendInfoItemTemplate
| 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
Nullable<DataTemplate>
See Also
SublayerItemTemplate
LayerItemTemplate
| Improve this Doc View Source

ReverseLayerOrder

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

Declaration
public bool ReverseLayerOrder { get; set; }
Property Value
Type Description
Boolean

If true, legend for layers is displayed from top to bottom order; otherwise, false, legend for layers is displayed from bottom to top order.

| Improve this Doc View Source

SublayerItemTemplate

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

Declaration
public DataTemplate? SublayerItemTemplate { get; set; }
Property Value
Type Description
Nullable<DataTemplate>
See Also
LegendInfoItemTemplate
LayerItemTemplate

Methods

| Improve this Doc View Source

OnApplyTemplate()

Declaration
protected override void OnApplyTemplate()
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX