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
Get the color of styled control
posted

Hi, I'm trying to get the color of styled controls with no succes, this is what i'm doing:
pnlRight.BackColor = MyUltraTabControl.Appearance.BackColor

MyUltraTabControl.Appearance.BackColor stores the values applyied in design mode, but not the values from applying the .isl. How can i get that?
Thanks

 

  • 469350
    Suggested Answer
    Offline posted

    It depens on the control, but most controls and objects expose methods for getting the resolved appearance. Look for a method that starts with the work "Resolve", like ResolveAppearance.