0

In the UI we have a textbox which is a DevExpress.ExpressApp.Win.Editors.StringEdit.

We set its properties as follows:

control.Properties.Mask.MaskType = MaskType.DateTimeAdvancingCaret;
control.Properties.DisplayFormat.FormatString = "yyyy.MM.dd";
control.Properties.DisplayFormat.FormatType = FormatType.DateTime;

When the textbox gets the focus it is empty. When the end user presses any key the control displays a valid date. The user modifies the date. Now how can the user empty / clear this textbox (using the keyboard)?

(Del, BackSpace does not work)

Thx

4

1 回答 1

0

来自 DevExpress文本编辑概述帮助文章:
All common text editing features are available in text editors. This includes typing characters, deleting them using the BACKSPACE or DEL keys, etc. Note that end-users can press the CTRL+DEL combination to remove the editor's entire content.

于 2013-02-11T07:32:24.483 回答