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
700
Form background color not getting updated
posted

I think I must be missing something on AppStylist because I can't seem to get it to update the background color of my Windows forms. I've added an InboxControlStyler to the form and tried setting both the Inbox Control and Inbox form background color on the default styleset in the isl file but it doesn't seem to update the form. I've tried leaving the default style set name blank and setting it to Default. All Infragistics controls are properly updated with the styles defined in the isl file which I have attached to this post.

Any help is greatly appreciated.

CustomIsl.zip
Parents
  • 21795
    Offline posted

    Hello Frederick,

    Thank you for contacting Infragistics Support.

    In order to set the style of the in-box component you need to implement two steps:

        1. Load the style library you need to your solution. You need to load it before you initialize your form. You may use code like this:

        Infragistics.Win.AppStyling.StyleManager.Load(“YourStyleLibraryFileName.isl”);

        More about how to load style library file to your application you may find by following the next link http://help.infragistics.com/Help/Doc/WinForms/2012.1/CLR2.0/HTML/Win_Loading_a_StyleLibrary.html

        2. Place InboxControlStyler component to your form.

    Please find attached a sample solution implementing this approach.

    Please let me know if this is what you are looking for or if I am missing something.

    CAS-147519-C5X2M8.zip
Reply Children