A newer version of this page is available. Switch to the current version.

MapLegendBase Class

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

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v19.1.dll

Declaration

public abstract class MapLegendBase :
    MapDisposableObject,
    IOwnedElement,
    IMapStyleOwner,
    IUpdateSupportItem
Public MustInherit Class MapLegendBase
    Inherits MapDisposableObject
    Implements IOwnedElement,
               IMapStyleOwner,
               IUpdateSupportItem

Related API Members

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.

See Also