GroupBoxControl.cs 959 B

1234567891011121314151617181920212223242526272829303132333435
  1. using System.Windows.Forms;
  2. using System.Drawing;
  3. using System.ComponentModel;
  4. namespace FastReport.Dialog
  5. {
  6. /// <summary>
  7. /// Represents a Windows control that displays a frame around a group of controls with an optional caption.
  8. /// Wraps the <see cref="System.Windows.Forms.GroupBox"/> control.
  9. /// </summary>
  10. public class GroupBoxControl : ParentControl
  11. {
  12. private GroupBox groupBox;
  13. #region Public Properties
  14. /// <summary>
  15. /// Gets an internal <b>GroupBox</b>.
  16. /// </summary>
  17. [Browsable(false)]
  18. public GroupBox GroupBox
  19. {
  20. get { return groupBox; }
  21. }
  22. #endregion
  23. /// <summary>
  24. /// Initializes a new instance of the <b>GroupBoxControl</b> class with default settings.
  25. /// </summary>
  26. public GroupBoxControl()
  27. {
  28. groupBox = new GroupBox();
  29. Control = groupBox;
  30. }
  31. }
  32. }