Dundas Chart for Windows Forms
Reset Method
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > ChartSerializer Class : Reset Method


Call this method to reset all chart properties marked for serialization.


Reset all properties of the chart to default values. By setting Content or SerializableContent/NonSerializableContent properties specific set of properties can be reset.

Syntax

Visual Basic (Declaration)  
Public Sub Reset() 
Visual Basic (Usage) Copy Code
Dim instance As ChartSerializer
 
instance.Reset()
C#  
public void Reset()

Remarks

By default this method resets all chart properties to their default values.

To limit the chart properties that are reset to their defaults use the ContentSerializableContent and NonSerializableContent properties.

Note that this method is also called automatically when the Load method is used and the ResetWhenLoading property is set to true.

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.