G
Guest
I have created a CustomControl that inherits from Textbox
When i drag and drop my custom control on to a UserControl/ form i want to
read the UserControl's property / form's property at Design Time
Ex : When i drag and Drop my Custom Control, i want the constructor of my
control to read my parent usercontrol's name property or any other property
and do some operation based on it
I already tried this.Parent but it returns a null value and throws an error.
Anyhelp with this would be of great use to me
Thanks,
Suraj Guptha
When i drag and drop my custom control on to a UserControl/ form i want to
read the UserControl's property / form's property at Design Time
Ex : When i drag and Drop my Custom Control, i want the constructor of my
control to read my parent usercontrol's name property or any other property
and do some operation based on it
I already tried this.Parent but it returns a null value and throws an error.
Anyhelp with this would be of great use to me
Thanks,
Suraj Guptha