hiding a property ::

assassin316

New member
Joined
May 27, 2005
Messages
4
Programming Experience
1-3
Here is my situation:

I have a control inherited from MaskedTextBox. I added a property called Value. I want the users of this new control to use the Value property and not use the Text property when setting a new value to this control. Therefore my intention is to hide the Text property from external use. I tried making the property Private but that doesn't work.

Anyone have an idea ??? :confused:

Thank you.
 
Why don't you override Text property with your own implementation?
 
Back
Top