Custom Control Featuring a Collapsible Panel
本文参考http://www.codeproject.com/Articles/53318/C-Custom-Control-Featuring-a-Collapsible-Panel
C# Custom Control Featuring a Collapsible Panel
By
19 Jan 2010
,
Is your email address OK? You are signed up for our newsletters but your email address is either unconfirmed, or has not been reconfirmed in a long time. Please click
here to have a confirmation email sent so we can confirm your email address and start sending you newsletters again. Alternatively, you can
update your subscriptions.
IntroductionHaving worked with ASP.NET AJAX Background
Using the Control at Design TimeUsing the control at design time is very simple. Basically it behaves the same way as a normal Panel except that it can be expanded and collapsed. After adding the Control to the toolbox, drag it on the design surface of your form and you'll get: The control shows a smart tag when clicked it opens a window showing panel's new features and properties that we can use to customize the panel. |