MapLegendHitInfo.Element Property
In This Article
Returns the map legend element that is positioned under the test point.
Namespace: DevExpress.XtraMap
Assembly: DevExpress.XtraMap.v24.2.dll
NuGet Package: DevExpress.Win.Map
#Declaration
public MapLegendHitElement Element { get; }
#Property Value
Type | Description |
---|---|
Map |
The legend element that is in the test point. |
Available values:
Name | Description |
---|---|
None | No legend element is hit-tested. |
Header | |
Description | |
Item | A legend item is in the test point. |
#Remarks
If the Element property value is equal to MapLegendHitElement.Item, the AdditionalInfo object stores the item’s index.
See Also