Theme don't changed at start
Theme don't changed at start
hello.
I tried to change wpf view and designer's theme at runtime(when loaded).
so i added like..
StiOptions.Windows.GlobalGuiStyle = StiGlobalGuiStyle.Office2007Blue;
But theme is never changed...
I tried to change wpf view and designer's theme at runtime(when loaded).
so i added like..
StiOptions.Windows.GlobalGuiStyle = StiGlobalGuiStyle.Office2007Blue;
But theme is never changed...
Re: Theme don't changed at start
Hello.
If you change style at runtime, the Designer should be reloaded.
Thank you.
If you change style at runtime, the Designer should be reloaded.
Thank you.
Re: Theme don't changed at start
hello, Mr. by Aleksey
we tried to set 'theme' before create instance of 'wpf designer or viewer'
our code is..
StiOptions.Windows.GlobalGuiStyle = StiGlobalGuiStyle.Office2007Blue; << nerver works even if restart app..
help me
we tried to set 'theme' before create instance of 'wpf designer or viewer'
our code is..
Code: Select all
private StiWpfDesignerControl designerControl;
StiOptions.Windows.GlobalGuiStyle = StiGlobalGuiStyle.Office2007Blue;
designerControl = new StiWpfDesignerControl();
designerControl.SetValue(Grid.RowProperty, 1);
designerControl.ShowMainMenu = false;
rootGrid.Children.Add(designerControl);
help me
Re: Theme don't changed at start
Hello,
Please check that you have added the Stimulsoft.Report.Wpf.Office2007BlueTheme.dll assembly to the references.
Thank you.
Please check that you have added the Stimulsoft.Report.Wpf.Office2007BlueTheme.dll assembly to the references.
Thank you.
-
- Posts: 68
- Joined: Tue Nov 09, 2010 2:05 pm
- Location: Dresden
Re: Theme don't changed at start
Hello,
Can you please send us a sample project which reproduce the issue for analysis.
Thank you.
Can you please send us a sample project which reproduce the issue for analysis.
Thank you.
-
- Posts: 68
- Joined: Tue Nov 09, 2010 2:05 pm
- Location: Dresden
Re: Theme don't changed at start
Here ist the sample project.
I try to force Office2007Blue:
I try to force Office2007Blue:
Code: Select all
StiOptions.Windows.GlobalGuiStyle = StiGlobalGuiStyle.Office2007Blue;
- Attachments
-
- StiGlobalGuiStyle.zip
- (47.25 KiB) Downloaded 320 times
Foxpro and behind
Re: Theme don't changed at start
Hello,
Please try to use the following option:
StiOptions.Wpf.CurrentTheme = StiOptions.Wpf.Themes.Office2003BlueTheme;
Thank you.
Please try to use the following option:
StiOptions.Wpf.CurrentTheme = StiOptions.Wpf.Themes.Office2003BlueTheme;
Thank you.
-
- Posts: 68
- Joined: Tue Nov 09, 2010 2:05 pm
- Location: Dresden
Re: Theme don't changed at start
Hello,
We are always glad to help you!
Let us know if you need any additional help.
We are always glad to help you!
Let us know if you need any additional help.