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

MapLegendBase Class

The base class for all legends that can be used in the Map control.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.2.dll

NuGet Package: DevExpress.Win.Map

#Declaration

public abstract class MapLegendBase :
    MapDisposableObject,
    IOwnedElement,
    IMapStyleOwner,
    ILegend,
    IUpdateSupportItem

The following members return MapLegendBase objects:

#Remarks

The MapLegendBase class implements basic functionality common to all legends.

For instance, it implements the MapLegendBase.Alignment property, which defines how a legend is aligned within a map; as well as the MapLegendBase.Header and MapLegendBase.Description properties, which define additional text displayed on a legend. To control the visibility of a legend, use its MapLegendBase.Visibility property.

For more information, refer to Legends.

See Also