GcMask 有一个Fields属性,可以加相应的FormatPattern.
GrapeCity.Win.Editors.Fields.MaskPatternField maskPatternField1 = new GrapeCity.Win.Editors.Fields.MaskPatternField();
maskPatternField1.Pattern = "\\D|\\A";
this.gcMask1.Fields.AddRange(new GrapeCity.Win.Editors.Fields.MaskField[] {maskPatternField1});
|