Back to Devexpress

TimeScaleWorkDay Members

windowsforms-devexpress-dot-xtrascheduler-dot-timescaleworkday-dot-underscore-members.md

latest7.3 KB
Original Source

TimeScaleWorkDay Members

A time scale whose time cell is equal to a single day. Does not include weekends and holidays.

Constructors

NameDescription
TimeScaleWorkDay(SchedulerControl)Initializes a new instance of the TimeScaleWorkDay owned by the specific Scheduler Control.

Properties

NameDescription
DisplayFormatGets or sets the format of the string displayed in the timeline caption. Inherited from TimeScale.
DisplayNameGets or sets the text which identifies an element. Inherited from UserInterfaceObject.
EnabledGets or sets if the time scale is enabled for the View. Inherited from TimeScale.
IdGets the unique identifier of the user interface object instance. Inherited from UserInterfaceObject.
MenuCaptionGets or sets the element’s menu caption. Inherited from UserInterfaceObject.
SerializationTypeNameGets the string containing the time scale type name. Inherited from TimeScale.
ValueGets the value of the scale unit - a time interval equal to a day. Inherited from TimeScaleDay.
VisibleGets or sets whether the time scale is visible. Inherited from TimeScale.
WidthGets or sets the width of the time scale element. Inherited from TimeScale.

Methods

NameDescription
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) staticDetermines 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. Inherited from TimeScaleFixedInterval.
Floor(DateTime)Calculates the largest datetime value that is less or equal to the argument and contains an integer number of days. Inherited from TimeScaleDay.
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. Inherited from TimeScaleFixedInterval.
GetNextDate(DateTime)Adds a time interval, equivalent to one day, to the argument value. Inherited from TimeScaleDay.
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)Checks whether the specific date belongs to non-working day that is not included in this time scale. You can override this method for custom scales to control which DateTime intervals should be visible. See the Time Scales article for an example.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines 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 days. Inherited from TimeScaleDay.
ToString()Returns the element’s textual representation. Inherited from UserInterfaceObject.

Events

NameDescription
PropertyChangedOccurs when a property value changes. Inherited from UserInterfaceObject.

See Also

TimeScaleWorkDay Class

DevExpress.XtraScheduler Namespace