Skip to main content
A newer version of this page is available. .

DurationEdit Class

A combo box editor used to specify time intervals (durations).

Namespace: DevExpress.Xpf.Scheduling.Editors

Assembly: DevExpress.Xpf.Scheduling.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Scheduling, DevExpress.Wpf.Scheduling

Declaration

public class DurationEdit :
    ComboBoxEdit

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.

WPFScheduler_DurationEdit

See Also