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
485
Base Class for User Controls
posted

Is there a base class where the following classes were derived that would have the "appearance" property:

Infragistics.Win.UltraWinGrid.UltraCombo

Infragistics.Win.UltraWinEditors.UltraTextEditor

Infragistics.Win.UltraWinMaskedEdit.UltraMaskedEdit 

Infragistics.Win.UltraWinEditors.UltraNumericEditor

 

I'm trying to cast an object to the base class of these controls and then set the appearance.backcolor property as red

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    No, there's no common base class for these 4 controls that has the Appearance property.

    If you know your application will have full trust, you could get the Appearance property via reflection. Otherwise, you will need to cast into the specific types.

Children