Dundas Chart for Windows Forms
Position Property
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > Legend Class : Position Property


Gets or sets an ElementPosition object, which can be used to get or set the legend's position.


Legend rectangle position

Syntax

Visual Basic (Declaration)  
Public Property Position As ElementPosition
Visual Basic (Usage) Copy Code
Dim instance As Legend
Dim value As ElementPosition
 
instance.Position = value
 
value = instance.Position
C#  
public ElementPosition Position {get; set;}

Return Value

A value that represents the legend's position. Defaults to Auto.

Remarks

If the Position property is automatic (e.g. Legend.Position.Auto = true) then the legend position is calculated automatically by the control, taking into account the Docking, Alignment and DockInsideChartArea property settings.

If it is not automatic then the Docking and InsideChartArea properties are ignored, and the legend position is solely determined by this  ElementPosition object.

Requirements

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

See Also

© 2009 All Rights Reserved.