Gets or sets the alignment of the strip line.
Strip Line title alignment
Visual Basic (Declaration) | |
---|---|
Public Property TitleAlignment As StringAlignment |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public StringAlignment TitleAlignment {get; set;} |
Return Value
A CustomLabelsCollection object, which stores all CustomLabel objects used for an axis.
Possible alignment values are Center, Far and Near. Far equates to the top or to the right, depending on the orientation of the strip line. In the same manner Near equates to the bottom or to the right.
If you want more control over the positioning of an axis title you must perform custom drawing using the PostPaint or PrePaint event.
StripLine objects allow for further alignment and positioning of their title using the TitleLineAlignment and TitleAngle properties.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family