Class ScaleStateList
A collection class that maintains a list of ScaleState objects, corresponding to the list of Axis objects from YAxisList or Y2AxisList.
Implements
Inherited Members
Namespace: ZedGraph
Assembly: ZedGraph.dll
Syntax
public class ScaleStateList : List<ScaleState>, IList<ScaleState>, ICollection<ScaleState>, IEnumerable<ScaleState>, IList, ICollection, IEnumerable, ICloneable
Constructors
| Improve this Doc View SourceScaleStateList(ScaleStateList)
The Copy Constructor
Declaration
public ScaleStateList(ScaleStateList rhs)
Parameters
Type | Name | Description |
---|---|---|
ScaleStateList | rhs | The ScaleStateList object from which to copy |
ScaleStateList(Y2AxisList)
Construct a new ScaleStateList automatically from an existing Y2AxisList.
Declaration
public ScaleStateList(Y2AxisList list)
Parameters
Type | Name | Description |
---|---|---|
Y2AxisList | list | The Y2AxisList (a list of Y axes), from which to retrieve the state and create the ScaleState objects. |
ScaleStateList(YAxisList)
Construct a new ScaleStateList automatically from an existing YAxisList.
Declaration
public ScaleStateList(YAxisList list)
Parameters
Type | Name | Description |
---|---|---|
YAxisList | list | The YAxisList (a list of Y axes), from which to retrieve the state and create the ScaleState objects. |
Methods
| Improve this Doc View SourceApplyScale(Y2AxisList)
Declaration
public void ApplyScale(Y2AxisList list)
Parameters
Type | Name | Description |
---|---|---|
Y2AxisList | list |
ApplyScale(YAxisList)
Declaration
public void ApplyScale(YAxisList list)
Parameters
Type | Name | Description |
---|---|---|
YAxisList | list |
Clone()
Typesafe, deep-copy clone method.
Declaration
public ScaleStateList Clone()
Returns
Type | Description |
---|---|
ScaleStateList | A new, independent copy of this class |
IsChanged(Y2AxisList)
Iterate through the list of ScaleState objects, comparing them to the state of the specified Y2AxisList Axis objects.
Declaration
public bool IsChanged(Y2AxisList list)
Parameters
Type | Name | Description |
---|---|---|
Y2AxisList | list | A Y2AxisList object specifying a list of Axis objects to be compared with this ScaleStateList. |
Returns
Type | Description |
---|---|
Boolean | true if a difference is found, false otherwise |
IsChanged(YAxisList)
Iterate through the list of ScaleState objects, comparing them to the state of the specified YAxisList Axis objects.
Declaration
public bool IsChanged(YAxisList list)
Parameters
Type | Name | Description |
---|---|---|
YAxisList | list | A YAxisList object specifying a list of Axis objects to be compared with this ScaleStateList. |
Returns
Type | Description |
---|---|
Boolean | true if a difference is found, false otherwise |
Explicit Interface Implementations
| Improve this Doc View SourceICloneable.Clone()
Implement the ICloneable interface in a typesafe manner by just calling the typed version of Clone()
Declaration
object ICloneable.Clone()
Returns
Type | Description |
---|---|
Object | A deep copy of this object |