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.v20.2.Core.Desktop.dll

Declaration

public TimeSlot(
    TimeSpan value,
    string displayName,
    string menuCaption
)
Public Sub New(
    value As TimeSpan,
    displayName As String,
    menuCaption As String
)

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