Legend Members

Represents a chart control's legend.

Constructors

Name Description
Legend()

Initializes a new instance of the Legend class with default settings.

Fields

Name Description
HorizontalPositionProperty

Identifies the Legend.HorizontalPosition dependency property.

IsMovableInsideDiagramProperty

Identifies the Legend.IsMovableInsideDiagram dependency property.

ItemTemplateProperty

Identifies the Legend.ItemTemplate dependency property.

MaximumRowsOrColumnsProperty

Identifies the Legend.MaximumRowsOrColumns dependency property.

OrientationProperty

Identifies the Legend.Orientation dependency property.

ReverseItemsProperty

Identifies the Legend.ReverseItems dependency property.

VerticalPositionProperty

Identifies the Legend.VerticalPosition dependency property.

Properties

Name Description
HorizontalPosition

Gets or sets the legend's horizontal position within the chart control.

IsMovableInsideDiagram

Gets or sets a value indicating if a legend is movable inside a chart area at runtime.

ItemTemplate

Gets or sets the template for the legend items.

MaximumRowsOrColumns

Gets or sets the maximum number of rows allowed (if a legend displays its items vertically) or columns (if a legend displays its items horizontally).

Orientation

Specifies whether the legend items are vertically or horizontally oriented.

ReverseItems

Gets or sets a value indicating whether the order of legend items is reversed.

VerticalPosition

Gets or sets the legend's vertical position within the chart control.

Events

Name Description
PropertyChanged

Occurs every time any of the ChartElement class properties has changed its value.

(Inherited from ChartElement)
See Also