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
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,