Log In
[Expand]Welcome to DevExpress .NET Documentation
[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]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [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]Diagram Control
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Report Server
[Expand]eXpressApp Framework
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation


Expanded Overview

The DateEdit control is a dropdown 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 ButtonEdit control supports masked user input and the data validation mechanism.
  • 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 Inplace 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?​​​​​​​