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

ColorListLegend Members

Represents a color legend as a list of colors.

Constructors

Name Description
ColorListLegend() Initializes a new instance of the ColorListLegend class with default settings.

Fields

Name Description
DefaultAlignment static Specifies the legend alignment used by default. Inherited from MapLegendBase.
DefaultVisibility static Specifies the legend visibility used by default. Inherited from MapLegendBase.

Properties

Name Description
Alignment Gets or sets the alignment of a map legend. Inherited from MapLegendBase.
BackgroundStyle Returns the map legend background style. Inherited from MapLegendBase.
CustomItems Provides access to the collection of custom legend items.
Description Gets or set the description of the map legend. Inherited from MapLegendBase.
DescriptionStyle Provides access to style settings of the legend description. Inherited from MapLegendBase.
Header Gets or sets the header of the map legend. Inherited from MapLegendBase.
HeaderStyle Provides access to the style settings of the legend header. Inherited from MapLegendBase.
ImageList Gets or sets the source of images to be displayed within a legend.
ItemStyle Provides access to the style settings of legend items. Inherited from MapLegendBase.
Layer Specifies the layer from which the legend obtains data to display. Inherited from ItemsLayerLegend.
RangeStopsFormat Specifies the display format of range stops on a color legend. Inherited from MapLegendBase.
SortOrder Gets or sets the sort order of the color list legend items.
Visibility Gets or sets a value indicating whether or not a legend should be visible. Inherited from MapLegendBase.

Methods

Name Description
Dispose() Disposes of the current object. Inherited from MapDisposableObject.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns the textual representation of ColorListLegend.
See Also