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.

Fields

Name Description
BackgroundColorProperty static Identifies the BackgroundColor bindable property.
BorderColorProperty static Identifies the BorderColor bindable property.
BorderThicknessProperty static Identifies the BorderThickness bindable property.
IndentFromDiagramProperty static Identifies the IndentFromDiagram bindable property.
ItemsHorizontalIndentProperty static Identifies the ItemsHorizontalIndent bindable property.
ItemsVerticalIndentProperty static Identifies the ItemsVerticalIndent bindable property.
MarkerSizeProperty static Identifies the MarkerSize bindable property.
PaddingProperty static Identifies the Padding bindable property.
TextIndentProperty static Identifies the TextIndent bindable property.
TextStyleProperty static Identifies the TextStyle bindable property. Inherited from TextElementStyleBase.

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 Gets or sets the text style of the chart’s element. 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