ListControlOptions.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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 ListControlOptions : BaseControlOptions
  8. {
  9. public ListControlOptions()
  10. {
  11. ItemList = new List<ListControlItem>();
  12. SelectedValues = new List<object>();
  13. ColumnCount = 1;
  14. }
  15. public int ColumnCount { get; set; }
  16. public int? Width { get; set; }
  17. public List<object> SelectedValues
  18. {
  19. get;
  20. set;
  21. }
  22. public List<ListControlItem> ItemList
  23. {
  24. get;
  25. set;
  26. }
  27. public string ItemSourceUrl { get; set; }
  28. public string SelectedValueUrl { get; set; }
  29. public string TextField
  30. {
  31. get;
  32. set;
  33. }
  34. public string ValueField
  35. {
  36. get;
  37. set;
  38. }
  39. public string OnClick
  40. {
  41. get;
  42. set;
  43. }
  44. public string OnLoadSuccess
  45. {
  46. get;
  47. set;
  48. }
  49. }
  50. }