Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
210
UltraMaskedEditor - Cannot Inherit
posted

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!

 

Parents
No Data
Reply
  • 210
    posted

    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

     

    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

Children