Class LegendEntry
Class used to represent an entry in the Legend control.
Implements
Namespace: Esri.ArcGISRuntime.Toolkit.Maui
Assembly: Esri.ArcGISRuntime.Toolkit.Maui.dll
Syntax
public class LegendEntry : INotifyPropertyChanged
Remarks
The Content property will contain the actual object it represents, mainly Layer, ILayerContent or LegendInfo.
Constructors
| Name | Description |
|---|---|
| LegendEntry(object) | Initializes a new instance of the LegendEntry class. |
Properties
| Name | Description |
|---|---|
| Content | Gets the content that this entry represents, usually a Layer, ILayerContent or LegendInfo. |
| Name | Gets the display name of the content |
| Symbol | Gets the symbol of the content if it's a LegendInfo |
Methods
| Name | Description |
|---|---|
| Equals(object?) | Determines whether the specified object is equal to the current object. |
| GetHashCode() | Serves as the default hash function. |
| OnPropertyChanged(string) | Raises the PropertyChanged event. |
Events
| Name | Description |
|---|---|
| PropertyChanged | Occurs when a property value changes. |