Skip to main content

MapLegendHitInfo.Element Property

Returns the map legend element that is positioned under the test point.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.1.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