DoubleAxisDelta

StockSharp.Xaml.Charting

Defines a Double Delta, which provides Major and Minor deltas as used in NumericAxis

Implements: IAxisDelta<double>, IAxisDelta, ICloneable, IEquatable<DoubleAxisDelta>

Constructors

DoubleAxisDelta
public DoubleAxisDelta()
doubleAxisDelta = DoubleAxisDelta()

Initializes a new instance of the DoubleAxisDelta class.

DoubleAxisDelta
public DoubleAxisDelta(double minorDelta, double majorDelta)
doubleAxisDelta = DoubleAxisDelta(minorDelta, majorDelta)

Initializes a new instance of the DoubleAxisDelta class.

minorDelta
The minor delta.
majorDelta
The major delta.

Properties

MajorDelta
public double MajorDelta { get; set; }
value = doubleAxisDelta.MajorDelta
doubleAxisDelta.MajorDelta = value

Gets or sets the major delta.

MinorDelta
public double MinorDelta { get; set; }
value = doubleAxisDelta.MinorDelta
doubleAxisDelta.MinorDelta = value

Gets or sets the minor delta.

Methods

Clone
public object Clone()
result = doubleAxisDelta.Clone()

Clones this instance.

Equals
public override bool Equals(object obj)
result = doubleAxisDelta.Equals(obj)

Determines whether the specified Object is equal to this instance.

obj
The Object to compare with the current Object.

Returns: true if the specified Object is equal to this instance; otherwise, false.

Equals
public bool Equals(DoubleAxisDelta other)
result = doubleAxisDelta.Equals(other)

Indicates whether the current object is equal to another object of the same type.

other
An object to compare with this object.

Returns: true if the current object is equal to the parameter; otherwise, false.

GetHashCode
public override int GetHashCode()
result = doubleAxisDelta.GetHashCode()

Returns a hash code for this instance.

Returns: A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

op_Equality
public static bool op_Equality(DoubleAxisDelta left, DoubleAxisDelta right)
result = DoubleAxisDelta.op_Equality(left, right)

Implements the operator ==.

left
The left.
right
The right.

Returns: The result of the operator.

op_Inequality
public static bool op_Inequality(DoubleAxisDelta left, DoubleAxisDelta right)
result = DoubleAxisDelta.op_Inequality(left, right)

Implements the operator !=.

left
The left.
right
The right.

Returns: The result of the operator.

ToString
public override string ToString()
result = doubleAxisDelta.ToString()

Returns a String that represents this instance.

Returns: A String that represents this instance.