Skip to main content

TimeScaleFixedInterval Members

Serves as a base for the classes for which TimeScaleFixedInterval.Value is a fixed time interval.

Constructors

Name Description
TimeScaleFixedInterval() Initializes a new instance of the TimeScaleFixedInterval class with the default settings.
TimeScaleFixedInterval(TimeSpan) Initializes a new instance of the TimeScaleFixedInterval class with the specified scale value.

Properties

Name Description
DisplayFormat Gets or sets the format of the string displayed in the timeline caption. Inherited from TimeScale.
DisplayName Gets or sets the text which identifies an element. Inherited from UserInterfaceObject.
Enabled Gets or sets if the time scale is enabled for the View. Inherited from TimeScale.
Id Gets the unique identifier of the user interface object instance. Inherited from UserInterfaceObject.
MenuCaption Gets or sets the element’s menu caption. Inherited from UserInterfaceObject.
SerializationTypeName Gets the string containing the time scale type name. Inherited from TimeScale.
Value Gets or sets the value of the scale unit - a fixed time interval.
Visible Gets or sets whether the time scale is visible. Inherited from TimeScale.
Width Gets or sets the width of the time scale element. Inherited from TimeScale.

Methods

Name Description
Ceil(DateTime) Calculates the smallest datetime value that is greater or equal to the argument and contains an integer number of specified time units. Inherited from TimeScale.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current TimeScaleFixedInterval instance.
Floor(DateTime) Calculates the largest datetime value that is less or equal to the argument and represents an integer number of specified time intervals.
FormatCaption(DateTime, DateTime) Returns a string formatted according to display format for this scale type. Inherited from TimeScale.
GetHashCode() Calculates the hash code for the TimeScaleFixedInterval instance.
GetNextDate(DateTime) Adds a fixed scale time interval to the argument value.
GetPrevDate(DateTime) Subtracts a time interval equivalent to a scale unit to the argument value. Inherited from TimeScale.
GetType() Gets the Type of the current instance. Inherited from Object.
IsDateVisible(DateTime) Returns whether the specific date belongs to this Time Scale. This method can return false for Time Scales that miss certain time invervals, for instance, Work Day and Work Hour scales. You can override this method for custom scales to control which DateTime intervals should be visible. See the Time Scales article for an example. Inherited from TimeScale.
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.
Round(DateTime) Calculates the datetime value that is the nearest to the argument value and contains an integer number of specified time units. Inherited from TimeScale.
ToString() Returns the element’s textual representation. Inherited from UserInterfaceObject.

Events

Name Description
PropertyChanged Occurs when a property value changes. Inherited from UserInterfaceObject.
See Also