Class MajorTic
Class that holds the specific properties for the major tics. Inherits from MinorTic.
Inherited Members
Namespace: ZedGraph
Assembly: ZedGraph.dll
Syntax
[Serializable]
public class MajorTic : MinorTic, ICloneable, ISerializableConstructors
| Improve this Doc View SourceMajorTic()
Default constructor for MajorTic.
Declaration
public MajorTic()MajorTic(SerializationInfo, StreamingContext)
Constructor for deserializing objects
Declaration
protected MajorTic(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 | 
MajorTic(MajorTic)
Copy constructor.
Declaration
public MajorTic(MajorTic rhs)Parameters
| Type | Name | Description | 
|---|---|---|
| MajorTic | rhs | The MajorTic that is to be copied. | 
Fields
| Improve this Doc View Sourceschema2
Current schema value that defines the version of the serialized file
Declaration
public const int schema2 = 10Field Value
| Type | Description | 
|---|---|
| Int32 | 
Properties
| Improve this Doc View SourceIsBetweenLabels
Gets or sets a property that determines whether or not the major tics will be drawn inbetween the labels, rather than right at the labels.
Declaration
public bool IsBetweenLabels { get; set; }Property Value
| Type | Description | 
|---|---|
| Boolean | true to place the text between the labels for text axes, false otherwise | 
Remarks
See Also
Methods
| Improve this Doc View SourceClone()
Typesafe, deep-copy clone method.
Declaration
public MajorTic Clone()Returns
| Type | Description | 
|---|---|
| MajorTic | 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 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
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 |