Saturday, June 30, 2012

Difference between Panel and GroupBox classes in .NET

The both classes that is Panel and GroupBox can be used as a container for other controls such as check box control, radio button control etc. But the difference between these two classes is 
• In case of Panel class captions cannot be displayed i.e. we can’t set caption but in GroupBox class captions can be displayed. 
• The Panel class can have scroll bars but GroupBox class cannot have scroll bar.

No comments:

Post a Comment