Back to Devexpress

MapLegendHitInfo.Element Property

windowsforms-devexpress-dot-xtramap-dot-maplegendhitinfo-dd3ee033.md

latest1.8 KB
Original Source

MapLegendHitInfo.Element Property

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

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
public MapLegendHitElement Element { get; }
vb
Public ReadOnly Property Element As MapLegendHitElement

Property Value

TypeDescription
MapLegendHitElement

The legend element that is in the test point.

|

Available values:

NameDescription
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

MapLegendHitInfo Class

MapLegendHitInfo Members

DevExpress.XtraMap Namespace