Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

MapLegendHitInfo.Element Property

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
MapLegendHitElement

The legend element that is in the test point.

Available values:

Name Description
None

No legend element is hit-tested.

Header

A legend header.

Description

A legend 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