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.2.Core.Desktop.dll
NuGet Package: DevExpress.Scheduler.CoreDesktop
Declaration
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.