Hi, there -
I'm creating some classes that inherit different controls. I'm doing this since there are still some design decisions to be made in regards to colors, etc, and I believe if I have a custom controls in place, I can simply change the property once on the custom control and those changes would propegate throughout the app when instances of those custom controls are used.
For example, I have a class that inherits the UltraTextEditor control by using:
Inherits Infragistics.Win.UltraWinEditors.UltraTextEditor
This has worked fine for me until I needed to do this with UltraMaskedEditor. It does not appear to allow inheritance. Can anyone else confirm this, and if this is the case, is there a reason?
I'm expecting to be able to use the statement:
Inherits Infragistics.Win.UltraWinMaskedEdit.UltraMaskedEdit
Thanks for your time!
I'm using Visual Basic (in Visual Studio 2005)
This is literally all of my code from the class I'm trying to create:
Public Class MaskedEditNBS Inherits Infragistics.Win.UltraWinMaskedEdit.UltraMaskedEdit End Class
End Class
The error I get is:
"Type 'Infragistics.Win.UltraWinMaskedEdit.UltraMaskedEdit' is not defined."
I have confirmed that my project has the appropriate references.
The reference used is: Infragistics2.Win.UltraWinMaskedEdit.v7.3 , version is: 7.3.20073.38, runtime is: v2.0.50727
You should also have a reference to the Infragistics2.Win.dll and Infragistics2.Shared.dll.