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
35
Confused [*-)]
posted

Confused while trying infragistics first time m tottaly confused help files not working for me till now i culdt even got mine first style library to load into mine vs2005 winform project.Angry

can smone please tell me a linkk to stepby step guide or

" Dummies guide for infragistics" [:'(]

Parents
No Data
Reply
  • 1265
    posted
    Loading Your AppStylist Style Library Into Your VB NET 2005 Application



    In VS 2005, right click on your application name and go to Properties:





    When the properties page loads, go to the Application Tab, then click on View Application Events:





    The ApplicationEvents.vb file will be created and opened. Go to the General dropdown, and choose (My Application Events):





    Go to the Declarations dropdown, and choose Startup:





    The Application_Startup event will be added to the code window:





    Add the line of code below, substituting your file name/path for your AppStylist style library (.isl file) where it says InsertYourFileNameHere.isl:

    Infragistics.Win.AppStyling.StyleManager.Load("InsertYourFileNameHere.isl")





    In AppStylist, make note of the style set name you would like to use. If you only made one style set in your style library, it will be called Default. Otherwise, make note of the style set name, in this case it is YourStyleSetName:





    In the properties of the control(s) you wish to apply styles to, type in the name of the style set you wish to use for that specific control:





    When you build/run your application, the specified style set in your style library will be applied to the control:

Children
No Data