Charting for WPF Programmer's Guide

Legend.HorizontalAlignment Property

See Also
 


Gets or sets the horizontal alignment of the legend.

Namespace: MindFusion.Charting.Wpf
Assembly: Charting

 Syntax

C#  Copy Code

public HorizontalAlignment HorizontalAlignment { get; set; }

Visual Basic  Copy Code

Public Property HorizontalAlignment As HorizontalAlignment

 Property Value

One of WPF's HorizontalAlignment enumeration values. Default is HorizontalAlignment.Left.

 Remarks

Use HorizontalAlignment to specify the alignment of the Legend when its Position is Position.Top or Position.Bottom.

 See Also