Class Legend
The Legend control is used to display symbology and description for a set of
Namespace: Esri.ArcGISRuntime.Toolkit.Maui
Assembly: Esri.ArcGISRuntime.Toolkit.Maui.dll
Syntax
public class Legend : TemplatedView
Constructors
| Improve this Doc View SourceLegend()
Initializes a new instance of the Legend class.
Declaration
public Legend()
Fields
| Improve this Doc View SourceFilterByVisibleScaleRangeProperty
Identifies the FilterByVisibleScaleRange bindable property.
Declaration
public static readonly BindableProperty FilterByVisibleScaleRangeProperty
Field Value
Type | Description |
---|---|
BindableProperty |
FilterHiddenLayersProperty
Identifies the FilterHiddenLayers bindable property.
Declaration
public static readonly BindableProperty FilterHiddenLayersProperty
Field Value
Type | Description |
---|---|
BindableProperty |
GeoViewProperty
Identifies the GeoView bindable property.
Declaration
public static readonly BindableProperty GeoViewProperty
Field Value
Type | Description |
---|---|
BindableProperty |
LayerItemTemplateProperty
Identifies the LayerItemTemplate bindable property.
Declaration
public static readonly BindableProperty LayerItemTemplateProperty
Field Value
Type | Description |
---|---|
BindableProperty |
LegendInfoItemTemplateProperty
Identifies the LegendInfoItemTemplate bindable property.
Declaration
public static readonly BindableProperty LegendInfoItemTemplateProperty
Field Value
Type | Description |
---|---|
BindableProperty |
ReverseLayerOrderProperty
Identifies the ReverseLayerOrder bindable property.
Declaration
public static readonly BindableProperty ReverseLayerOrderProperty
Field Value
Type | Description |
---|---|
BindableProperty |
SublayerItemTemplateProperty
Identifies the SublayerItemTemplate bindable property.
Declaration
public static readonly BindableProperty SublayerItemTemplateProperty
Field Value
Type | Description |
---|---|
BindableProperty |
Properties
| Improve this Doc View SourceFilterByVisibleScaleRange
Gets or sets a value indicating whether the scale of GeoView and any scale ranges on the
Declaration
public bool FilterByVisibleScaleRange { get; set; }
Property Value
Type | Description |
---|---|
Boolean | If |
FilterHiddenLayers
Gets or sets a value indicating whether the visibility of a
Declaration
public bool FilterHiddenLayers { get; set; }
Property Value
Type | Description |
---|---|
Boolean | If |
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
| Improve this Doc View SourceLayerItemTemplate
Gets or sets the item template for each
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
| Improve this Doc View SourceLegendInfoItemTemplate
Gets or sets the item template for each
Declaration
public DataTemplate? LegendInfoItemTemplate { get; set; }
Property Value
Type | Description |
---|---|
Nullable<DataTemplate> |
See Also
| Improve this Doc View SourceReverseLayerOrder
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 |
SublayerItemTemplate
Gets or sets the item template for each
Declaration
public DataTemplate? SublayerItemTemplate { get; set; }
Property Value
Type | Description |
---|---|
Nullable<DataTemplate> |
See Also
Methods
| Improve this Doc View SourceOnApplyTemplate()
Declaration
protected override void OnApplyTemplate()