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.

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. This is a bindable property.
BorderColor Gets or sets the legend border color. This is a bindable property.
BorderThickness Gets or sets the legend border thickness. This is a bindable property.
IndentFromDiagram
ItemsHorizontalIndent Gets or sets the indent between legend items when they are arranged in a row. This is a bindable property.
ItemsVerticalIndent Gets or sets the indent between legend items when they are arranged in a column. This is a bindable property.
MarkerSize Gets or sets the size of legend markers. This is a bindable property.
Padding Gets or sets the spacing between the legend’s content and its edges, in scale-independent units. This is a bindable property.
TextIndent Gets or sets the indent between legend markers and text. This is a bindable property.
TextStyle Gets or sets the text style of the chart’s element. This is a bindable property. 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