Infragistics.Win.AppStyling.StyleManager.Reset("MyStyleLibrary.isl");
What shall I put instead of "MyStyleLibrary.isl" to get a default style for my form.
Thank you so much !! Five stars
Hi Bouzid,
Yes, that's correct. The parameter to the Reset method is styleSetName - which is not to be confused with the file name of the style library. There's no need to specify the file name when you are resetting - because you are resetting the style library that is in memory, not a file.
The StyleSetName is used in case where you need to load more than one Style Library into memory at the same time. Each control can then opt in to using whichever style library you want by name via the StyleLibraryName property on the control.
Thank you, works great
Just use the parameterless overload.