Skip to main content

TimeScaleWeek Members

A time scale whose time cell value is equal to a single week.

#Constructors

Name Description
TimeScaleWeek() Initializes a new instance of the TimeScaleWeek class with the default settings.

#Properties
Show Inherited Hide Inherited

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 Timeline View. Inherited from TimeScale.
FirstDayOfWeek Gets the day which starts the scale's week.
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 the value of the scale unit - a time interval equal to a week.
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
Show Inherited Hide Inherited

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.
Dispose() Disposes of the UserInterfaceObject object. Inherited from UserInterfaceObject.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Floor(DateTime) Calculates the largest datetime value that is less or equal to the argument and represents an integer number of weeks.
FormatCaption(DateTime, DateTime) Returns a string formatted according to the display format for this scale type. Inherited from TimeScale.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetNextDate(DateTime) Adds a time interval, equivalent to one week, to the argument value.
GetPrevDate(DateTime) Subtracts a time interval equivalent to a scale unit from the argument value. Inherited from TimeScale.
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.
Round(DateTime) Calculates the datetime value that is the nearest to the argument and contains an integer number of specified time units. Inherited from TimeScale.
ToString() Returns the element's textual representation. Inherited from UserInterfaceObject.

#Events
Show Inherited Hide Inherited

Name Description
PropertyChanged Occurs when any of the TimeScale class property values is changed. Inherited from TimeScale.
See Also