Page 1 of 1

Designer - theme color and V2

Posted: Tue Apr 30, 2019 9:58 am
by ednt
Good day everyone,

I have 2 questions for you to the designer in WPF.

1. How can i change the color of the office2013 design from code? I only found one design, but without a color specification.
2. How i can use the designerV2 instead of the default designer? I know i can directly show a report with report.showWithWPFV2, but i need the V2 as StiOption or something else in my code-behind-designe-class.
CurrentTheme.png
CurrentTheme.png (14.18 KiB) Viewed 4528 times
CurrentTheme.png
CurrentTheme.png (14.18 KiB) Viewed 4528 times

Re: Designer - theme color and V2

Posted: Thu May 02, 2019 8:07 am
by Lech Kulikowski
Hello,

> 1. How can i change the color of the office2013 design from code? I only found one design, but without a color specification.

You can use the following code:
StiThemesHelper.SetOffice2013ThemeInfo(StiOffice2013Theme.Office2013DarkGray, StiOffice2013ThemeStyle.Orange);

> 2. How i can use the designerV2 instead of the default designer? I know i can directly show a report with report.showWithWPFV2, but i need the V2 as StiOption or something else in my code-behind-designe-class.

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

Re: Designer - theme color and V2

Posted: Fri May 03, 2019 7:36 am
by ednt
Hi,

thank you for your response.
I'm now able to set the color.

The other problem is:
I want to show the designer in the Wpf2 theme like the DesignerV2.Wpf.exe
But I found no class like Wpf2 and I was not able to change the theme via StiOptions.Wpf
I also tried some stuf like:
xmlns:wpfDesigner="clr-namespace:Stimulsoft.Report.WpfDesign;assembly=Stimulsoft.Report.WpfDesign"
at the window definition. But there is no Wpf2Design available.
How can I create a Wpf2 designer via code?

Re: Designer - theme color and V2

Posted: Fri May 03, 2019 9:58 am
by Lech Kulikowski
Hello,

The V2 designer is placed on Stimulsoft.Client.Designer
and called as:
var window = new StiCloudDesignerLauncherWindow();
window.ShowDesigner(report);

it is not possible to use as a control.

Thank you.

Re: Designer - theme color and V2

Posted: Fri May 03, 2019 11:55 am
by ednt
Hi,
thank you for your response.

One last question :)
Can i customize the Designer (xmlns:wpfDesigner="clr-namespace:Stimulsoft.Report.WpfDesign;assembly=Stimulsoft.Report.WpfDesign")
that it looks like the StiCloudDesigner ?

Thank you.

Re: Designer - theme color and V2

Posted: Fri May 03, 2019 2:22 pm
by Lech Kulikowski
Hello,

Unfortunately. not all element available for customizations.

Thank you.