How i can override stimulosft style with my silverlight application style ?

Stimulsoft Reports.Silverlight discussion
Jalal
Posts: 66
Joined: Sat Oct 09, 2010 4:10 am
Location: Palestine

How i can override stimulosft style with my silverlight application style ?

Post by Jalal »

Hello,

I have silverlight application with custom style. But stimulosft still in blue style. Can i disable stimulsoft style?

Regards,
Jalal
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

How i can override stimulosft style with my silverlight application style ?

Post by Alex K. »

Hello,

Silverlight version included the following theme:
Office2010Blue,
Office2010Silver,
Office2010Black,
Office2007Blue,
Office2007Silver,
Office2010Mac

If you want to add your own theme you need to have the source code.

Thank you.
RichFinnegan
Posts: 23
Joined: Fri Sep 23, 2011 4:43 am
Location: Germany

How i can override stimulosft style with my silverlight application style ?

Post by RichFinnegan »

Hello,

how can you switch themes from the report code?

Thank you
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

How i can override stimulosft style with my silverlight application style ?

Post by Alex K. »

Hello,

Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?

Thank you.
RichFinnegan
Posts: 23
Joined: Fri Sep 23, 2011 4:43 am
Location: Germany

How i can override stimulosft style with my silverlight application style ?

Post by RichFinnegan »

What I mean is, how can we change the theme in the viewer control using code.

thanks
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

How i can override stimulosft style with my silverlight application style ?

Post by HighAley »

Hello.
RichFinnegan wrote:What I mean is, how can we change the theme in the viewer control using code.
You could select theme from existing ones by setting the StiOptions.Silverlight.Themes.CurrentTheme property.

Or if you wish to create your own theme, you should take one of our themes from the Stimulsoft.Controls.SL abbembly (you should have our source code for this) and change it as you need.

Thank you.
Lex Lavnikov
Posts: 34
Joined: Tue Nov 08, 2011 9:34 am
Location: Frankfurt

How i can override stimulosft style with my silverlight application style ?

Post by Lex Lavnikov »

Could you please provide a link to a demo app which is able to switch themes?

StiOptions.Silverlight.Themes.CurrentTheme = StiSilverlightThemes.Office2010Silver;

Does change nothing
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

How i can override stimulosft style with my silverlight application style ?

Post by HighAley »

Hello.
Alladin wrote:Could you please provide a link to a demo app which is able to switch themes?

StiOptions.Silverlight.Themes.CurrentTheme = StiSilverlightThemes.Office2010Silver;

Does change nothing
At this time you should use next code to set a default theme.

Code: Select all

StiSettings.Set("StimulsoftApplication", "Theme", StiSilverlightThemes.Office2010Mac);
We are making some changes now and from the next prerelease build next code with work.

Code: Select all

StiOptions.Silverlight.Themes.CurrentTheme = StiSilverlightThemes.Office2010Mac;
Thank you.
Lex Lavnikov
Posts: 34
Joined: Tue Nov 08, 2011 9:34 am
Location: Frankfurt

How i can override stimulosft style with my silverlight application style ?

Post by Lex Lavnikov »

Thank you. It works!
Anton Lozovskiy
Posts: 135
Joined: Tue Aug 11, 2009 9:38 am

How i can override stimulosft style with my silverlight application style ?

Post by Anton Lozovskiy »

Hello,

Let us know if you need any additional help.

Thank you.
Locked