LegendCell.Alignment Property

Definition

Gets or sets the alignment of the legend cell contents.

public:
 virtual property System::Drawing::ContentAlignment Alignment { System::Drawing::ContentAlignment get(); void set(System::Drawing::ContentAlignment value); };
public virtual System.Drawing.ContentAlignment Alignment { get; set; }
member this.Alignment : System.Drawing.ContentAlignment with get, set
Public Overridable Property Alignment As ContentAlignment

Property Value

A ContentAlignment value that represents the alignment of the legend cell contents. The default value is MiddleCenter.

Remarks

The Alignment property is used to align text, series symbols or images within the legend cell.

Applies to