Search Results for

    Show / Hide Table of Contents

    Class ZoomStateStack

    A LIFO stack of prior ZoomState objects, used to allow zooming out to prior states (of scale range settings).

    Inheritance
    Object
    List<ZoomState>
    ZoomStateStack
    Implements
    IList<ZoomState>
    ICollection<ZoomState>
    IEnumerable<ZoomState>
    IList
    ICollection
    IEnumerable
    ICloneable
    Inherited Members
    System.Collections.Generic.List<ZedGraph.ZoomState>.System.Collections.IList.get_Item(System.Int32)
    System.Collections.Generic.List<ZedGraph.ZoomState>.System.Collections.IList.set_Item(System.Int32, System.Object)
    List<ZoomState>.Add(ZoomState)
    List<ZoomState>.AddRange(IEnumerable<ZoomState>)
    List<ZoomState>.AsReadOnly()
    List<ZoomState>.BinarySearch(Int32, Int32, ZoomState, IComparer<ZoomState>)
    List<ZoomState>.BinarySearch(ZoomState)
    List<ZoomState>.BinarySearch(ZoomState, IComparer<ZoomState>)
    List<ZoomState>.Clear()
    List<ZoomState>.Contains(ZoomState)
    List<ZoomState>.ConvertAll<TOutput>(Converter<ZoomState, TOutput>)
    List<ZoomState>.CopyTo(Int32, ZoomState[], Int32, Int32)
    List<ZoomState>.CopyTo(ZoomState[])
    List<ZoomState>.CopyTo(ZoomState[], Int32)
    List<ZoomState>.Exists(Predicate<ZoomState>)
    List<ZoomState>.Find(Predicate<ZoomState>)
    List<ZoomState>.FindAll(Predicate<ZoomState>)
    List<ZoomState>.FindIndex(Int32, Int32, Predicate<ZoomState>)
    List<ZoomState>.FindIndex(Int32, Predicate<ZoomState>)
    List<ZoomState>.FindIndex(Predicate<ZoomState>)
    List<ZoomState>.FindLast(Predicate<ZoomState>)
    List<ZoomState>.FindLastIndex(Int32, Int32, Predicate<ZoomState>)
    List<ZoomState>.FindLastIndex(Int32, Predicate<ZoomState>)
    List<ZoomState>.FindLastIndex(Predicate<ZoomState>)
    List<ZoomState>.ForEach(Action<ZoomState>)
    List<ZoomState>.GetEnumerator()
    List<ZoomState>.GetRange(Int32, Int32)
    List<ZoomState>.IndexOf(ZoomState)
    List<ZoomState>.IndexOf(ZoomState, Int32)
    List<ZoomState>.IndexOf(ZoomState, Int32, Int32)
    List<ZoomState>.Insert(Int32, ZoomState)
    List<ZoomState>.InsertRange(Int32, IEnumerable<ZoomState>)
    List<ZoomState>.LastIndexOf(ZoomState)
    List<ZoomState>.LastIndexOf(ZoomState, Int32)
    List<ZoomState>.LastIndexOf(ZoomState, Int32, Int32)
    List<ZoomState>.Remove(ZoomState)
    List<ZoomState>.RemoveAll(Predicate<ZoomState>)
    List<ZoomState>.RemoveAt(Int32)
    List<ZoomState>.RemoveRange(Int32, Int32)
    List<ZoomState>.Reverse()
    List<ZoomState>.Reverse(Int32, Int32)
    List<ZoomState>.Sort()
    List<ZoomState>.Sort(IComparer<ZoomState>)
    List<ZoomState>.Sort(Comparison<ZoomState>)
    List<ZoomState>.Sort(Int32, Int32, IComparer<ZoomState>)
    List<ZoomState>.IEnumerable<ZoomState>.GetEnumerator()
    List<ZoomState>.ICollection.CopyTo(Array, Int32)
    List<ZoomState>.IEnumerable.GetEnumerator()
    List<ZoomState>.IList.Add(Object)
    List<ZoomState>.IList.Contains(Object)
    List<ZoomState>.IList.IndexOf(Object)
    List<ZoomState>.IList.Insert(Int32, Object)
    List<ZoomState>.IList.Remove(Object)
    List<ZoomState>.ToArray()
    List<ZoomState>.TrimExcess()
    List<ZoomState>.TrueForAll(Predicate<ZoomState>)
    List<ZoomState>.Capacity
    List<ZoomState>.Count
    List<ZoomState>.Item[Int32]
    List<ZoomState>.ICollection<ZoomState>.IsReadOnly
    List<ZoomState>.ICollection.IsSynchronized
    List<ZoomState>.ICollection.SyncRoot
    List<ZoomState>.IList.IsFixedSize
    List<ZoomState>.IList.IsReadOnly
    List<ZoomState>.IList.Item[Int32]
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: ZedGraph
    Assembly: ZedGraph.dll
    Syntax
    public class ZoomStateStack : List<ZoomState>, IList<ZoomState>, ICollection<ZoomState>, IEnumerable<ZoomState>, IList, ICollection, IEnumerable, ICloneable

    Constructors

    | Improve this Doc View Source

    ZoomStateStack()

    Default Constructor

    Declaration
    public ZoomStateStack()
    | Improve this Doc View Source

    ZoomStateStack(ZoomStateStack)

    The Copy Constructor

    Declaration
    public ZoomStateStack(ZoomStateStack rhs)
    Parameters
    Type Name Description
    ZoomStateStack rhs

    The ZoomStateStack object from which to copy

    Properties

    | Improve this Doc View Source

    IsEmpty

    Public readonly property that indicates if the stack is empty

    Declaration
    public bool IsEmpty { get; }
    Property Value
    Type Description
    Boolean

    true for an empty stack, false otherwise

    | Improve this Doc View Source

    Top

    Gets a reference to the ZoomState object at the top of the stack, without actually removing it from the stack.

    Declaration
    public ZoomState Top { get; }
    Property Value
    Type Description
    ZoomState

    A ZoomState object reference, or null if the stack is empty.

    Methods

    | Improve this Doc View Source

    Clone()

    Typesafe, deep-copy clone method.

    Declaration
    public ZoomStateStack Clone()
    Returns
    Type Description
    ZoomStateStack

    A new, independent copy of this class

    | Improve this Doc View Source

    Pop(GraphPane)

    Pop a ZoomState entry from the top of the stack, and apply the properties to the specified GraphPane object.

    Declaration
    public ZoomState Pop(GraphPane pane)
    Parameters
    Type Name Description
    GraphPane pane

    The GraphPane object to which the scale range information should be copied.

    Returns
    Type Description
    ZoomState

    The ZoomState object that was "popped" from the stack and applied to the specified GraphPane. null if no ZoomState was available (the stack was empty).

    | Improve this Doc View Source

    PopAll(GraphPane)

    Pop the ZoomState entry from the bottom of the stack, and apply the properties to the specified GraphPane object. Clear the stack completely.

    Declaration
    public ZoomState PopAll(GraphPane pane)
    Parameters
    Type Name Description
    GraphPane pane

    The GraphPane object to which the scale range information should be copied.

    Returns
    Type Description
    ZoomState

    The ZoomState object at the bottom of the stack that was applied to the specified GraphPane. null if no ZoomState was available (the stack was empty).

    | Improve this Doc View Source

    Push(GraphPane, ZoomState.StateType)

    Add the scale range information from the specified GraphPane object as a new ZoomState entry on the stack.

    Declaration
    public ZoomState Push(GraphPane pane, ZoomState.StateType type)
    Parameters
    Type Name Description
    GraphPane pane

    The GraphPane object from which the scale range information should be copied.

    ZoomState.StateType type

    A ZoomState.StateType enumeration that indicates whether this state is the result of a zoom or pan operation.

    Returns
    Type Description
    ZoomState

    The resultant ZoomState object that was pushed on the stack.

    | Improve this Doc View Source

    Push(ZoomState)

    Add the scale range information from the specified ZoomState object as a new ZoomState entry on the stack.

    Declaration
    public ZoomState Push(ZoomState state)
    Parameters
    Type Name Description
    ZoomState state

    The ZoomState object to be placed on the stack.

    Returns
    Type Description
    ZoomState

    The ZoomState object (same as the parameter).

    Explicit Interface Implementations

    | Improve this Doc View Source

    ICloneable.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

    Implements

    System.Collections.Generic.IList<T>
    System.Collections.Generic.ICollection<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    System.ICloneable
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX