Sounds simple really - I allow users to select a style from a menu option and I then apply it but if no style is chosen then what is being used? The reason I ask is I want to create a custom style based on my 'default' style as I like the look of it. None of the supplied styles seem to match what I see using the default style...
Hello Chris,
If you start your app with no style library loaded and then you would have to loads one and you want to go back to the original with nothing loaded, you just reset it using Reset method like this:
Reset method resets/clears the style information that is currently loaded into memory for the default style library.
StyleManager.Reset();
I am applying styles IF the user selects something however my question is what style is applied IF no style has been selected? I want to be able to create a new style based on my 'default' but I can't see anywhere in my Application where I have set a default style so wondered where the default is coming from.
Thank you for contacting. May I know if you are applying the styles? You would have to apply it through the style manager. Like this:
Infragistics.Win.AppStyling.StyleManager.Load("StyleLibrary.isl");
You can refer to this online help document to get more information.https://es.infragistics.com/help/winforms/styling-guide-loading-multiple-style-libraries
Let me know if you have further question or concern.
Regards,
Divya Jain