Search Results for

    Show / Hide Table of Contents

    Class MinorGrid

    Class that holds the specific properties for the minor grid.

    Inheritance
    Object
    MinorGrid
    MajorGrid
    Implements
    ICloneable
    ISerializable
    Inherited Members
    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 MinorGrid : ICloneable, ISerializable

    Constructors

    | Improve this Doc View Source

    MinorGrid()

    Default constructor

    Declaration
    public MinorGrid()
    | Improve this Doc View Source

    MinorGrid(SerializationInfo, StreamingContext)

    Constructor for deserializing objects

    Declaration
    protected MinorGrid(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

    MinorGrid(MinorGrid)

    Copy constructor

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

    The source MinorGrid to be copied.

    Fields

    | Improve this Doc View Source

    schema

    Current schema value that defines the version of the serialized file

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

    Properties

    | Improve this Doc View Source

    Color

    The color to use for drawing this Axis grid.

    Declaration
    public Color Color { get; set; }
    Property Value
    Type Description
    Color

    The color is defined using the Color class

    See Also
    Color
    PenWidth
    | Improve this Doc View Source

    DashOff

    The "Dash Off" mode for drawing the grid.

    Declaration
    public float DashOff { get; set; }
    Property Value
    Type Description
    Single

    The dash off length is defined in points (1/72 inch)

    Remarks

    This is the distance, in points (1/72 inch), of the spaces between the dash segments that make up the dashed grid lines.

    See Also
    DashOn
    IsVisible
    DashOff
    | Improve this Doc View Source

    DashOn

    The "Dash On" mode for drawing the grid.

    Declaration
    public float DashOn { get; set; }
    Property Value
    Type Description
    Single

    The dash on length is defined in points (1/72 inch)

    Remarks

    This is the distance, in points (1/72 inch), of the dash segments that make up the dashed grid lines.

    See Also
    DashOff
    IsVisible
    DashOn
    | Improve this Doc View Source

    IsVisible

    Gets or sets a value that determines if the major Axis gridlines (at each labeled value) will be visible

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

    true to show the gridlines, false otherwise

    See Also
    IsVisible
    Color
    PenWidth
    DashOn
    DashOff
    IsVisible
    | Improve this Doc View Source

    PenWidth

    The pen width used for drawing the grid lines.

    Declaration
    public float PenWidth { get; set; }
    Property Value
    Type Description
    Single

    The grid pen width is defined in points (1/72 inch)

    See Also
    IsVisible
    PenWidth
    Color

    Methods

    | Improve this Doc View Source

    Clone()

    Typesafe, deep-copy clone method.

    Declaration
    public MinorGrid Clone()
    Returns
    Type Description
    MinorGrid

    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 virtual 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

    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