DateEditPickerStyleSettings.HourStep Property
Gets or sets an interval between hours in DateEditPickerStyleSettings. This is a dependency property.
Namespace: DevExpress.Xpf.Editors
Assembly: DevExpress.Xpf.Core.v24.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Property Value
Type | Description |
---|---|
Nullable<Int32> | A step between available hours. Null when the property is not specified. |
Remarks
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