Hi everyone,
I’m working on a project where I need to allow users to switch between different report themes (like light/dark or custom styles) without redesigning the report manually. What’s the best approach in Stimulsoft Reports.NET to change styles dynamically at runtime? Are there built-in methods, or should I manipulate the report XML directly? Any sample code or tips would be greatly appreciated!
Best way to dynamically change report styles at runtime in Stimulsoft Reports.NET?
-
Lech Kulikowski
- Posts: 7452
- Joined: Tue Mar 20, 2018 5:34 am
Re: Best way to dynamically change report styles at runtime in Stimulsoft Reports.NET?
Hello,
In this case, you can use report Styles - for example, define styles for dark and light themes and load the required ones before rendering the report. Alternatively, you can create several versions of the report templates.
Thank you.
In this case, you can use report Styles - for example, define styles for dark and light themes and load the required ones before rendering the report. Alternatively, you can create several versions of the report templates.
Thank you.