Click here to Skip to main content
15,886,919 members
Please Sign up or sign in to vote.
2.00/5 (3 votes)
I have an user controls which contains a datagridview. This user control inherits the datagridview. now I want to add some properities for this user control and some new events for it. How can I do that? Please, help me.
Posted
Updated 26-Nov-14 18:00pm
v3
Comments
Sergey Alexandrovich Kryukov 26-Nov-14 23:17pm    
What's wrong with just reading MSDN documentation? Why do you think that a Quick Answer should be any better?
What have you tried so far?
—SA
BillWoodruff 26-Nov-14 23:58pm    
Exactly how did you create the UserControl: how did you modify it to inherit from the DataGridView ? Is it possible you are using a Component rather than a UserControl ?

Do you have any specific ideas about what type of behavior you wish to modify, or how you wish to extend the DataGridView ?
Maciej Los 27-Nov-14 17:56pm    
Do not repost!!!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900