Search Results for

    Show / Hide Table of Contents

    Class MajorGrid

    Class that handles the data associated with the major grid lines on the chart. Inherits from MinorGrid.

    Inheritance
    Object
    MinorGrid
    MajorGrid
    Implements
    ICloneable
    ISerializable
    Inherited Members
    MinorGrid.IsVisible
    MinorGrid.DashOn
    MinorGrid.DashOff
    MinorGrid.PenWidth
    MinorGrid.Color
    MinorGrid.schema
    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
    [Serializable]
    public class MajorGrid : MinorGrid, ICloneable, ISerializable

    Constructors

    | Improve this Doc View Source

    MajorGrid()

    Default constructor

    Declaration
    public MajorGrid()
    | Improve this Doc View Source

    MajorGrid(SerializationInfo, StreamingContext)

    Constructor for deserializing objects

    Declaration
    protected MajorGrid(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo info

    A SerializationInfo instance that defines the serialized data

    StreamingContext context

    A StreamingContext instance that contains the serialized data

    | Improve this Doc View Source

    MajorGrid(MajorGrid)

    Copy constructor

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

    The source MajorGrid to be copied.

    Fields

    | Improve this Doc View Source

    schema2

    Current schema value that defines the version of the serialized file

    Declaration
    public const int schema2 = 10
    Field Value
    Type Description
    Int32

    Properties

    | Improve this Doc View Source

    IsZeroLine

    Gets or sets a boolean value that determines if a line will be drawn at the zero value for the axis.

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

    true to show the zero line, false otherwise

    Remarks

    The zero line is a line that divides the negative values from the positive values. The default is set according to IsZeroLine, IsZeroLine, IsZeroLine,

    Methods

    | Improve this Doc View Source

    Clone()

    Typesafe, deep-copy clone method.

    Declaration
    public MajorGrid Clone()
    Returns
    Type Description
    MajorGrid

    A new, independent copy of this class

    | Improve this Doc View Source

    GetObjectData(SerializationInfo, StreamingContext)

    Populates a SerializationInfo instance with the data needed to serialize the target object

    Declaration
    [SecurityPermission(SecurityAction.Demand, SerializationFormatter = true)]
    public override void GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo info

    A SerializationInfo instance that defines the serialized data

    StreamingContext context

    A StreamingContext instance that contains the serialized data

    Overrides
    MinorGrid.GetObjectData(SerializationInfo, StreamingContext)

    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.ICloneable
    System.Runtime.Serialization.ISerializable
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX