dotnetCHARTING Send comments on this topic.
DefaultElement Property
See Also  Example
dotnetCHARTING Namespace > ChartArea 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.


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


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

See Also

© 2019 All Rights Reserved.