TimeSlot(TimeSpan, String) Constructor
Initializes a new instance of the TimeSlot class with the specified value and display name.
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. |
Remarks
In this case the UserInterfaceObject.MenuCaption property will be also set to displayName. Note also that the value.Ticks should be greater than 0.
See Also