Class MinorGrid
Class that holds the specific properties for the minor grid.
Inherited Members
Namespace: ZedGraph
Assembly: ZedGraph.dll
Syntax
[Serializable]
public class MinorGrid : ICloneable, ISerializable
Constructors
| Improve this Doc View SourceMinorGrid()
Default constructor
Declaration
public MinorGrid()
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 |
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 Sourceschema
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 SourceColor
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
| Improve this Doc View SourceDashOff
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
| Improve this Doc View SourceDashOn
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
| Improve this Doc View SourceIsVisible
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
| Improve this Doc View SourcePenWidth
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
Methods
| Improve this Doc View SourceClone()
Typesafe, deep-copy clone method.
Declaration
public MinorGrid Clone()
Returns
Type | Description |
---|---|
MinorGrid | A new, independent copy of this class |
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 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 |