TimescaleRuler Members

A timescale ruler.

Constructors

Name Description
TimescaleRuler(TimescaleUnit, Int32, Double, Double, IFormatProvider) Initializes a new instance of the TimescaleRuler class with the specified settings.
TimescaleRuler(TimescaleUnit, String, Int32, Double, Double, IFormatProvider) Initializes a new instance of the TimescaleRuler class with the specified settings.

Properties

Name Description
Count Gets the number of timescale units visualized between two tick marks.
DisplayFormat Gets the format of the string displayed in the timescale ruler captions.
FormatProvider Gets the format provider to format the timescale ruler captions.
MaxWidth Gets the maximum distance between tick marks in pixels when the timescale is displayed.
MinWidth Gets the minimum distance between tick marks in pixels when the timescale is displayed.
Unit Specifies the selected measure units of the timescale ruler.

Methods

Name Description
Equals(Object) Determines whether the specified object is equal to the current TimescaleRuler instance.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetHashCode() Gets the hash code (a number) that corresponds to the value of the current TimescaleRuler object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SetDisplayFormat(String) Returnes a new TimescaleRuler with the specified display format.
SetFormatProvider(IFormatProvider) Returnes a new TimescaleRuler with the specified format provider.
ToString() Returns the textual representation of TimescaleRuler.
Update(Int32, Nullable<Double>, Nullable<Double>) Returns a new TimescaleRuler with the specified settings.
See Also