wpf-devexpress-dot-xpf-dot-editors-dot-dateeditpickerstylesettings.md
Gets or sets an interval between hours in DateEditPickerStyleSettings. This is a dependency property.
Namespace : DevExpress.Xpf.Editors
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public int? HourStep { get; set; }
Public Property HourStep As Integer?
| Type | Description |
|---|---|
| Nullable<Int32> |
A step between available hours. Null when the property is not specified.
|
The following code sample specifies the HourStep property to 4, MinuteStep to 15, and SecondStep to 30:
<Window ...
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors">
<StackPanel>
<dxe:DateEdit Mask="HH:mm:ss" MaskType="DateTime" MaskUseAsDisplayFormat="True">
<dxe:DateEdit.StyleSettings>
<dxe:DateEditPickerStyleSettings HourStep="4" MinuteStep="15" SecondStep="30" />
</dxe:DateEdit.StyleSettings>
</dxe:DateEdit>
</StackPanel>
</Window>
See Also
DateEditPickerStyleSettings Class