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

LegendStyle Members

Stores legend appearance settings.

Constructors

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

Properties

Name Description
BackgroundColor Gets or sets the legend background color.
BorderColor Gets or sets the legend border color.
BorderThickness Gets or sets the legend border thickness.
IndentFromDiagram
ItemsHorizontalIndent Gets or sets the indent between legend items when they are arranged in a row.
ItemsVerticalIndent Gets or sets the indent between legend items when they are arranged in a column.
MarkerSize Gets or sets the size of legend markers.
Padding Gets or sets the spacing between the legend’s content and its edges, in scale-independent units.
TextIndent Gets or sets the indent between legend markers and text.
TextStyle Inherited from TextElementStyleBase.

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.
See Also