Back to Devexpress

MapLegendBase Class

windowsforms-devexpress-dot-xtramap-a1ba0978.md

latest2.6 KB
Original Source

MapLegendBase Class

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

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
public abstract class MapLegendBase :
    MapDisposableObject,
    IOwnedElement,
    IMapStyleOwner,
    ILegend,
    IUpdateSupportItem
vb
Public MustInherit Class MapLegendBase
    Inherits MapDisposableObject
    Implements 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.

Inheritance

Object MapDisposableObject MapLegendBase DataProviderLegend

SizeLegend

ColorLegendBase

ColorListLegend

ColorScaleLegend

ItemsLayerLegend

See Also

MapLegendBase Members

DevExpress.XtraMap Namespace