Back to Devexpress

DateEditTimePickerStyleSettings Class

wpf-devexpress-dot-xpf-dot-editors-a1b049be.md

latest3.6 KB
Original Source

DateEditTimePickerStyleSettings Class

Defines the appearance and behavior of a date editor with a time picker in the editor’s drop down.

Namespace : DevExpress.Xpf.Editors

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public class DateEditTimePickerStyleSettings :
    DateEditStyleSettingsBase
vb
Public Class DateEditTimePickerStyleSettings
    Inherits DateEditStyleSettingsBase

Remarks

A DateEditTimePickerStyleSettings object defines the time editor operation mode. In this mode, the DateEdit ‘s drop down displays a time picker.

Tip

For the complete list of the DateEdit control operation modes, see DateEdit operation modes.

Example

xaml
<dxe:DateEdit
    Mask="T"
    MaskUseAsDisplayFormat="True"
    MinValue="02/28/2019"
    MaxValue="02/20/2020">
    <dxe:DateEdit.StyleSettings>
        <dxe:DateEditTimePickerStyleSettings />
    </dxe:DateEdit.StyleSettings>
</dxe:DateEdit>

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DateEditTimePickerStyleSettings class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-data-grid-display-datetime-value-in-separate-date-and-time-columns/CS/DateAndTimeColumns_Unbound/MainWindow.xaml#L22

xml
<dxe:DateEditSettings.StyleSettings>
    <dxe:DateEditTimePickerStyleSettings/>
</dxe:DateEditSettings.StyleSettings>

Inheritance

Show 12 items

Object DispatcherObject DependencyObject Visual UIElement FrameworkElement BaseEditStyleSettings DevExpress.Xpf.Editors.TextEditStyleSettings DevExpress.Xpf.Editors.ButtonEditStyleSettings DevExpress.Xpf.Editors.PopupBaseEditStyleSettings DateEditStyleSettingsBase DateEditTimePickerStyleSettings

See Also

DateEditTimePickerStyleSettings Members

DevExpress.Xpf.Editors Namespace