Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to edit time with DateEdit in Vista mode

$
0
0

To make editing the time into DateEdit, perform these steps:

Create a DateEditCalendar descendant class, override its OnDayCellButtonClick method and add the Time property of the DateTime type;

Into the OnDayCellButtonClick method, call the base method and after this, recreate OwnerDateEdit’s DateTime property with the time from the Time property; 

To add custom content into the popup, use the DateEdit’s PopupContentTemplate property.


Viewing all articles
Browse latest Browse all 7205

Trending Articles