DxDateEdit<T>.TimeSectionHourIncrement Property
Specifies the interval between hour values in a scroll picker.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v25.1.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue(1)]
[Parameter]
public int TimeSectionHourIncrement { get; set; }
Property Value
| Type | Default | Description |
|---|---|---|
| Int32 | 1 | The interval. |
Remarks
The TimeSectionHourIncrement property allows you to display fewer values in the Hour column when you do not need a precise selection.
If the specified TimeSectionHourIncrement property value is less than 1, the component resets this value to 1.
In the following example, the scroll picker displays only odd hours:
<DxDateEdit Date="DateTime.Now"
TimeSectionVisible="true"
TimeSectionScrollPickerFormat="h m s"
TimeSectionHourIncrement="2" />

See Also