DevExpress.XtraEditors.TextEdit,设定为必须number类型的。

 

DevExpress.XtraEditors.TextEdit,设定为必须number类型的。

设定为:

1             this.txtMakeCollections.Properties.Mask.EditMask = "###############0.00#####";
2             this.txtMakeCollections.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
3             this.txtMakeCollections.Properties.Mask.UseMaskAsDisplayFormat = true;

 

posted @ 2013-03-11 17:34  杨斌_济南  阅读(6207)  评论(0编辑  收藏  举报