ColorScaleLegend Members

Represents a color legend as a color scale.

Constructors

Name Description
ColorScaleLegend() Initializes a new instance of the ColorScaleLegend 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.
EnableGradientScale Gets or sets whether a gradient applies across a legend's color items.
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.
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.
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) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. 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 ColorScaleLegend.
See Also