[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
 [Expand]What's Installed
 [Expand].NET Core 3 Support
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Expand]Charts Suite
  [Expand]Pivot Grid
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Collapse]Data Editors
    Included Components
   [Expand]Implementation Details
   [Expand]Getting Started
   [Collapse]Editor Types
     Token Editors
   [Expand]Common Features
   [Expand]Range Control
   [Expand]Visual Elements
   [Expand]End-User Capabilities
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Gantt Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)


Expanded Overview

The DateEdit control is a drop-down editor that allows end users to select DateTime values. The DateEdit control supports multiple operation modes.

The DateEdit control offers the following features.

  • Multiple operation modes

    The DateEdit control supports the following operation modes.

  • Additional buttons

    Use the DateEdit's Buttons collection to display custom buttons within the editor's text box.

    Each button can be individually customized. To specify the desired button glyph, use the ButtonInfo.GlyphKind property. To left-align a nested button, set the ButtonInfoBase.IsLeft property to true.

    The following sample demonstrates a DateEdit control with two additional buttons.

  • Common editor features

    Like other DevExpress WPF data editors, the DateEdit control supports masked user input and the data validation mechanism. When the editor's mask type is set to DateTimeAdvancingCaret, the DateEdit control functions in auto-complete mode.

  • Optimized for in-place editing

    DateEdit can be used standalone or as an in-place editor nested in a container control. The DateEditSettings class implements the in-place editing functionality. See In-place Editors to learn more.

Expanded Standalone DateEdit

To add a standalone DateEdit to a Window, drag it from the Toolbox.

The following sample demonstrates how to create a DateEdit using XAML markup.

Expanded In-place DateEdit

To embed a DateEdit into a container control, use the DateEditSettings class.

The following sample demonstrates how to embed a DateEdit into a GridControl column.

Expanded See Also

Is this topic helpful?​​​​​​​