BaseFormControlOptions.cs 606 B

1234567891011121314151617181920212223
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace Bowin.Web.Controls.Mvc
  6. {
  7. public class BaseFormControlOptions:BaseControlOptions
  8. {
  9. public BaseFormControlOptions()
  10. {
  11. Validator = new ValidatorBox();
  12. }
  13. /// <summary>
  14. /// 验证类属性,MVC模式下不推荐使用
  15. /// </summary>
  16. public bool? IsRequired { get; set; }
  17. /// <summary>
  18. /// 验证类属性,MVC模式下不推荐使用
  19. /// </summary>
  20. public ValidatorBox Validator { get; set; }
  21. }
  22. }