VJs Tip Of The Day
Reply
![]() |
|
From:
![]() VishalRJoshi
|
Custom Collection Properties
We see many properties in .Net controls which have collection of items... Example can be items collection for drop down list which contains selected as boolean; Name as string and value as string...
If you need collection properties for your class or custom control... This is what you do... First make a class whose collection you require... Say for example you need collection of Names, and each name is a class having three other properties like FirstName, LastName and MiddleName... So you first will have to make your class "Name" and then the next class "NameCollection"... The name collection will inherit from CollectionBase... Then you override the required functions to achieve your functionality...
Below link will help you learn more... http://msdn.microsoft.com/library/default.asp?url="">frlrfsystemcollectionscollectionbaseclasstopic.asp
Vishal Joshi Microsoft MVP .Net If You Think YOU CAN... You Can... http://VishalJoshi.Blogspot.com http://www.microsoft.com/india/mvp/indiamvp.aspx http://groups.msn.com/ChennaiNetUserGroup http://groups.msn.com/CNUG-DAM http://groups.msn.com/NetBloomingtonUserGroup
PS: I am undergoing a skin treatment with liquid nitrogen now...There was this small little tiny invisible kind of wart like thing on my toe which had never bothered me till I had one regular visit to my dermatologist.......... (Continued on blog http://VishalJoshi.Blogspot.com)
|
|
View other groups in this category.
![]() |
To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.
Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.
If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list.
Remove my e-mail address from dotNET User Group Hyd.
|
|
- Re: VJs Tip Of The Day VishalRJoshi
-