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.
Designer - theme color and V2
Designer - theme color and V2
- Attachments
-
- Designer_xaml.PNG (77.54 KiB) Viewed 3168 times
-
- Posts: 6198
- Joined: Tue Mar 20, 2018 5:34 am
Re: Designer - theme color and V2
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?
> 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
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?
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?
-
- Posts: 6198
- Joined: Tue Mar 20, 2018 5:34 am
Re: Designer - theme color and V2
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.
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
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.
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.
-
- Posts: 6198
- Joined: Tue Mar 20, 2018 5:34 am
Re: Designer - theme color and V2
Hello,
Unfortunately. not all element available for customizations.
Thank you.
Unfortunately. not all element available for customizations.
Thank you.