dotnetCHARTING Send comments on this topic.
Position Property
See Also  Example
dotnetCHARTING Namespace > Box Class : Position Property


Gets or sets the position of this box. When using with Series.GaugeBorderBox.Position, this property can take a Size or Rectangle object.

Syntax

Visual Basic (Declaration)  
Public Overridable Property Position As Object
Visual Basic (Usage) Copy Code
Dim instance As Box
Dim value As Object
 
instance.Position = value
 
value = instance.Position
C#  
public virtual object Position {get; set;}

Return Value

TitleBoxPosition, LegendBoxPosition enumeration, or Point.

Example

Show 3 uses of the property.
Visual Basic Copy Code
'Title position
Chart.TitleBox.Position = TitleBoxPosition.FullWithLegend
'Legend box position
Chart.LegendBox.Position = LegendBoxPosition.Top
'Absolute legend position in pixels
Chart.LegendBox.Position = New Point(10,15)
C# Copy Code
//Title position
Chart.TitleBox.Position = TitleBoxPosition.FullWithLegend;
//Legend box position
Chart.LegendBox.Position = LegendBoxPosition.Top;
//Absolute legend position in pixels
Chart.LegendBox.Position = New Point(10,15);
    

See Also