DurationEdit Class
A combo box editor used to specify time intervals (durations).
Namespace: DevExpress.Xpf.Scheduling.Editors
Assembly: DevExpress.Xpf.Scheduling.v19.2.dll
Declaration
Remarks
The DurationEdit control allows end-users to choose a duration from a list of predefined intervals from 5 minutes to 2 days.
Names of time intervals and their abbreviations are localizable - they are the SchedulerStringId enumeration values - those starting with “Abbr..”, e.g. SchedulerStringId.Abbr_Minute, SchedulerStringId.Abbr_Minutes, SchedulerStringId.Abbr_HoursShort and so on.
The DurationEdit control is shown below.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DurationEdit class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.