Skip to main content

TimeSlot(TimeSpan, String, String) Constructor

Initializes a new instance of the TimeSlot class with the specified value, display name and menu caption.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.Core.Desktop.dll

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

public TimeSlot(
    TimeSpan value,
    string displayName,
    string menuCaption
)

Parameters

Name Type Description
value TimeSpan

A TimeSpan value that specifies the value of the time slot. This value is assigned to the TimeSlot.Value property.

displayName String

A String value which represents the display name of the time slot. This value is assigned to the UserInterfaceObject.DisplayName property.

menuCaption String

A String value which represents the menu caption of the time slot. This value is assigned to the UserInterfaceObject.MenuCaption property.

Remarks

Note that in this case the value.Ticks should be greater than 0.

See Also