Show / Hide Table of Contents

Class LegendEntry

Class used to represent an entry in the Legend control.

Inheritance
Object
LegendEntry
Implements
INotifyPropertyChanged
Namespace: Esri.ArcGISRuntime.Toolkit.Maui
Assembly: Esri.ArcGISRuntime.Toolkit.Maui.dll
Syntax
public class LegendEntry : ILayerContentItem, INotifyPropertyChanged
Remarks

The Content property will contain the actual object it represents, mainly , or .

Constructors

| Improve this Doc View Source

LegendEntry(Object)

Initializes a new instance of the LegendEntry class.

Declaration
public LegendEntry(object content)
Parameters
Type Name Description
Object content

The object this entry represents, usually a , or .

Properties

| Improve this Doc View Source

Content

Gets the content that this entry represents, usually a , or .

Declaration
public object Content { get; }
Property Value
Type Description
Object
| Improve this Doc View Source

Name

Gets the display name of the content

Declaration
public string Name { get; }
Property Value
Type Description
String
| Improve this Doc View Source

Symbol

Gets the symbol of the content if it's a LegendInfo

Declaration
public Symbology.Symbol? Symbol { get; }
Property Value
Type Description
Nullable<Symbology.Symbol>

Methods

| Improve this Doc View Source

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj
Returns
Type Description
Boolean
Overrides
Object.Equals(Object)
| Improve this Doc View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
Int32
Overrides
Object.GetHashCode()
| Improve this Doc View Source

OnPropertyChanged(String)

Raises the PropertyChanged event.

Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
Type Name Description
String propertyName

name of the property changing

Events

| Improve this Doc View Source

PropertyChanged

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type Description
PropertyChangedEventHandler

Implements

INotifyPropertyChanged
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX