dotnetCHARTING Send comments on this topic.
DefaultElement Property
See Also  Example
dotnetCHARTING Namespace > Chart Class : DefaultElement Property


Gets or sets an Element object whose properties will trickle to all other elements on the chart unless otherwise specified. This is a shortcut to the DefaultSeries.DefaultElement property.

Syntax

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

Example

C#Copy Code
Chart.DefaultElement.SmartLabel.Text = "%Name";
    
Visual BasicCopy Code
Chart.DefaultElement.SmartLabel.Text = "%Name"

See Also

© 2011 All Rights Reserved.