Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在屏幕上有一个带有数字掩码 (n0) 的 Devexpress TextEdit 字段。当我删除字段中的值时,我希望它只是空白,但它被强制为 0。我该如何解决这个问题?
TextEdit 控件数据是否绑定到属性/字段?如果是这样,这个属性/字段是否允许空值(如 Nullable)?您是否设置了 TextEdit.Properties.AllowNullInput 属性?
http://documentation.devexpress.com/#windowsforms/DevExpressXtraEditorsRepositoryRepositoryItemTextEdit_AllowNullInputtopic