Mark Michaelis' Weblog :
Updated: 9/1/2004; 6:51:49 AM.

 








Subscribe to "Mark Michaelis' Weblog" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

Subscribe To
Mark's Weblog

 
 

Wednesday, November 13, 2002

Designing Your Own Control Extender
Google Search It

I took some time today to follow up on a November 2002 Visual Studio.NET Magazine article entitled, "Use Declarative Field Validation" by Francesco Balena.  the Extender Control that I decided to create was one that add help.

In the process of writing the above sample I came across and/or was reminded of some additional WinForms stuff that was interesting.

  • By default public property on a control shows up in the design control properties list such that the value can be set at design time in the WinForms designer.  Sometimes, however, this is undesirable behaviour because the property only makes sense at runtime or can not be identified by a constant.  Examples of this include things like a local instance hash table.  To prevent a property from showing up in the list of properties of the desgner add the BrowsableAttribute attribute to the property and specify false.

10:09:19 PM   []    comment []

© Copyright 2004 Mark Michaelis.



 


November 2002
Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Oct   Dec


Recent Posts