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

Legend Members

Stores chart legend settings.

Constructors

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

Fields

Name Description
HorizontalPositionProperty static Identifies the HorizontalPosition bindable property.
OrientationProperty static Identifies the Orientation bindable property.
StyleProperty static Identifies the Style bindable property.
VerticalPositionProperty static Identifies the VerticalPosition bindable property.
VisibleProperty static Identifies the Visible bindable property.

Properties

Name Description
HorizontalPosition Gets or sets the horizontal position of the legend relative to the chart diagram. This is a bindable property.
Orientation Gets or sets whether legend items are arranged in a column (from the top to the bottom) or row (from the left to the right). This is a bindable property.
Style Gets or sets the legend appearance settings. This is a bindable property.
VerticalPosition Gets or sets the vertical position of the legend relative to the chart diagram. This is a bindable property.
Visible Gets or sets whether the legend is visible. This is a bindable property.

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