Skip to main content
A newer version of this page is available. .

MapLegendBase Class

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

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v18.1.dll

Declaration

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

The following members accept/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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the MapLegendBase class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also