DxTimeEditSettings.MinuteIncrement Property
Specifies the interval between minute values in a scroll picker.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v25.1.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue(1)]
[Parameter]
public int MinuteIncrement { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Int32 | 1 | The interval. |
Remarks
The TimeSectionMinuteIncrement
property allows you to display fewer values in the Minute column when you do not need a precise selection. Note that this column’s values always start with 0
.
If the specified TimeSectionMinuteIncrement
property value is less than 1
, the component resets this value to 1
.
<DxGrid @ref="Grid"
Data="DataSource"
PageSize="12"
KeyFieldName="EmployeeId"
EditMode="GridEditMode.EditRow">
<Columns>
<DxGridCommandColumn Width="160px" />
<DxGridDataColumn FieldName="FirstName" MinWidth="80" />
<DxGridDataColumn FieldName="LastName" MinWidth="80" />
<DxGridDataColumn FieldName="Title" MinWidth="100" />
<DxGridDataColumn FieldName="Task Duration" MinWidth="80">
<EditSettings>
<DxTimeEditSettings ScrollPickerFormat="HH:mm:ss"
Format="HH:mm:ss"
MinuteIncrement="15" />
</EditSettings>
</DxGridDataColumn>
</Columns>
</DxGrid>
To change the scroll picker’s date format at runtime, use the ITimeEditSettings.MinuteIncrement property instead.
Implements
See Also