Skip to main content
All docs
V23.2

ColorListLegend Members

A legend that displays the descriptions of colors used to paint a treemap or sunburst.

Constructors

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

Properties

Name Description
BackColor Gets or sets the legend background color. Inherited from LegendBase.
BorderColor Gets or sets the legend border color. Inherited from LegendBase.
BorderWidth Gets or sets the legend border width in pixels. Inherited from LegendBase.
Direction Gets or sets the direction in which items are positioned in the legend. Inherited from LegendBase.
DXFont Inherited from LegendBase.
EquallySpacedItems Gets or sets whether to arrange legend items in left-aligned columns. Inherited from LegendBase.
Font Gets or sets the legend text font. Inherited from LegendBase.
HorizontalAlignment Gets or sets the legend’s horizontal alignment in the control. Inherited from LegendBase.
HorizontalIndent Gets or sets the horizontal indent between legend items in pixels. Inherited from LegendBase.
Margins Gets or sets the indents between the legend edges and other chart elements in pixels. Inherited from LegendBase.
Padding Gets or sets the indents between the legend’s edges and its content. Inherited from LegendBase.
TextColor Gets or sets the color for legend item text. Inherited from LegendBase.
TextOffset Gets or sets the distance between a legend item’s marker and description in pixels. Inherited from LegendBase.
Title Returns the legend’s title options. Inherited from LegendBase.
VerticalAlignment Gets or sets the legend’s vertical alignment in the control. Inherited from LegendBase.
VerticalIndent Gets or sets the vertical indent between legend items in pixels. Inherited from LegendBase.
Visible Specifies whether the legend is visible. Inherited from LegendBase.

Methods

Name Description
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 a string that represents the current object. Inherited from Object.

Events

Name Description
PropertyChanged Occurs when the legend’s property value is changed. Inherited from LegendBase.
See Also