3

我在屏幕上有一个带有数字掩码 (n0) 的 Devexpress TextEdit 字段。当我删除字段中的值时,我希望它只是空白,但它被强制为 0。我该如何解决这个问题?

4

1 回答 1

2

TextEdit 控件数据是否绑定到属性/字段?如果是这样,这个属性/字段是否允许空值(如 Nullable)?您是否设置了 TextEdit.Properties.AllowNullInput 属性?

http://documentation.devexpress.com/#windowsforms/DevExpressXtraEditorsRepositoryRepositoryItemTextEdit_AllowNullInputtopic

于 2013-11-10T05:01:23.447 回答