Using the Panel Control

The Panel control is a container for other controls. You can add controls to the Panel at design time and runtime. Panels are customarily used to group related controls. For example, the .NET Compact Framework does not support the GroupBox control, which can be used to group together RadioButton controls. Instead, you can add your RadioButton controls to a Panel to display to the user that these RadioButtons are related.

Unsupported Functionality

None of the following properties is supported by the Panel control:

  • BorderStyle property

  • BackGroundImage property

  • AutoScroll property

Get Microsoft® .NET Compact Framework Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.