DataListComponentEditor.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /**
  2. * Namespace: System.Web.UI.Design.WebControls
  3. * Class: DataListComponentEditor
  4. *
  5. * Author: Gaurav Vaish
  6. * Maintainer: mastergaurav AT users DOT sf DOT net
  7. *
  8. * (C) Gaurav Vaish (2002)
  9. */
  10. using System;
  11. using System.ComponentModel;
  12. using System.ComponentModel.Design;
  13. using System.Web.UI.Design;
  14. using System.Windows.Forms.Design;
  15. using System.Web.UI.WebControls;
  16. namespace System.Web.UI.Design.WebControls
  17. {
  18. public class DataListComponentEditor : BaseDataListComponentEditor
  19. {
  20. internal static int GENERAL = 0x00;
  21. internal static int FORMAT = 0x01;
  22. internal static int BORDERS = 0x02;
  23. private static Type[] componentEditorPages;
  24. static DataListComponentEditor()
  25. {
  26. componentEditorPages = new Type[] {
  27. typeof(GeneralPageDataListInternal),
  28. typeof(FormatPageInternal),
  29. typeof(BordersPageInternal)
  30. };
  31. }
  32. public DataListComponentEditor() : base(GENERAL)
  33. {
  34. }
  35. public DataListComponentEditor(int initialPage) : base(initialPage)
  36. {
  37. }
  38. protected override Type[] GetComponentEditorPages()
  39. {
  40. return componentEditorPages;
  41. }
  42. }
  43. }