TableColumn.DesignExt.cs 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using System.ComponentModel;
  5. using System.Windows.Forms;
  6. using System.Drawing.Design;
  7. using FastReport.Design;
  8. using FastReport.TypeConverters;
  9. using FastReport.Design.PageDesigners.Page;
  10. using FastReport.Data;
  11. using FastReport.TypeEditors;
  12. using FastReport.Utils;
  13. using System.Drawing;
  14. namespace FastReport.Table
  15. {
  16. partial class TableColumn
  17. {
  18. #region Properties
  19. /// <summary>
  20. /// This property is not relevant to this class.
  21. /// </summary>
  22. [Browsable(false)]
  23. public override float Top
  24. {
  25. get { return base.Top; }
  26. set { base.Top = value; }
  27. }
  28. /// <summary>
  29. /// This property is not relevant to this class.
  30. /// </summary>
  31. [Browsable(false)]
  32. public override float Height
  33. {
  34. get { return base.Height; }
  35. set { base.Height = value; }
  36. }
  37. /// <summary>
  38. /// This property is not relevant to this class.
  39. /// </summary>
  40. [Browsable(false)]
  41. public override DockStyle Dock
  42. {
  43. get { return base.Dock; }
  44. set { base.Dock = value; }
  45. }
  46. /// <summary>
  47. /// This property is not relevant to this class.
  48. /// </summary>
  49. [Browsable(false)]
  50. public override AnchorStyles Anchor
  51. {
  52. get { return base.Anchor; }
  53. set { base.Anchor = value; }
  54. }
  55. #endregion
  56. #region Protected Methods
  57. /// <inheritdoc/>
  58. protected override SelectionPoint[] GetSelectionPoints()
  59. {
  60. return new SelectionPoint[] {};
  61. }
  62. #endregion
  63. #region Public Methods
  64. /// <inheritdoc/>
  65. public override ContextMenuBase GetContextMenu()
  66. {
  67. return (Parent as TableBase).GetColumnContextMenu(this);
  68. }
  69. /// <inheritdoc/>
  70. public override void SelectionChanged()
  71. {
  72. base.SelectionChanged();
  73. if (Parent != null)
  74. Parent.SelectionChanged();
  75. }
  76. #endregion
  77. }
  78. }