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
65
app Styling
posted

Hello,

I am loading a style on start-up in a VB.NET application.  This is the code I am running and it finds the style file just fine but it has applied none of the changes styles to a Ultra Panel, ultragrid or an Ultra status bar on the form

Public Sub New()

' This call is required by the designer.

InitializeComponent()

Try

Infragistics.Win.AppStyling.StyleManager.Load("C:\IAS\Suncorp.isl")

Catch ex As Exception

MsgBox(ex.Message)

End Try

End Sub

 

I am using the Infragistics 2016 Vol. 2 in visual Studio 2015 professional.


I have also tried setting on the enclosed grid band loading the app style on the form load event but none of those make a difference. 

Thanks

Parents
No Data
Reply
  • 7695
    Offline posted

    Hi Jannik,

        I just want to confirm a few things to narrow down the possible cause of the behavior.

    If you open the style in AppStylist, and look at the design surface for those controls it looks as expected?

    If you create a sample dummy application, with new forms of those controls dropped on, does it display as you expect it?

    Search the project in question for UseAppStyling, is it ever set to false?

    Similarly search the project in question for UseOSThemes, is it ever set to DefaultableBoolean.True?

    Let me know if that helps,

Children
No Data