Skip to main content
All docs
V25.1
  • DxTimeEdit<T>.HourIncrement 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 HourIncrement { get; set; }

    Property Value

    Type Default Description
    Int32 1

    The interval.

    Remarks

    The HourIncrement property allows you to display fewer values in the Hour column when you do not need a precise selection.

    If the specified HourIncrement property value is less than 1, the component resets this value to 1.

    In the following example, the scroll picker displays only odd hours:

    <DxTimeEdit Time="DateTime.Now" 
                ScrollPickerFormat="h m s" 
                HourIncrement="2" />
    

    Time Edit - Hour Increment

    See Also