Is there a way to customize the Wpf Designer?
Is there a way to customize the Wpf Designer?
Hi,
is there a way to customize the Wpf Designer - e.g. add stuff to the Toolbar or to the Menu?
Thank you.
is there a way to customize the Wpf Designer - e.g. add stuff to the Toolbar or to the Menu?
Thank you.
Is there a way to customize the Wpf Designer?
Hello,
You can use the following code and only not ribbon GUI:
Thank you.
You can use the following code and only not ribbon GUI:
Code: Select all
private void button1_Click(object sender, RoutedEventArgs e)
{
StiReport report = new StiReport();
StiWpfStandardToolbarService stdToolbar = StiWpfStandardToolbarService.GetService();
stdToolbar.AddToolButton("imageName", "New Button", new RoutedEventHandler(toolButton_Click));
report.DesignWithWpf();
}
protected void toolButton_Click(System.Object sender, System.EventArgs e)
{
// Insert code to handle Click event.
}
Thank you.
Is there a way to customize the Wpf Designer?
Hello Aleksey,
we tried you code. Unfortunately i can't see the button.
Can you please give me a hint where it should show up?
The Designer starts in a German localized version in Ribbon mode
in a WPF Application.
Thank you.
we tried you code. Unfortunately i can't see the button.
Can you please give me a hint where it should show up?
The Designer starts in a German localized version in Ribbon mode
in a WPF Application.
Thank you.
Is there a way to customize the Wpf Designer?
Hello,
This possible and only not ribbon GUI.
Thank you.
This possible and only not ribbon GUI.
Thank you.
Is there a way to customize the Wpf Designer?
Hi, according to your explanation "This possible and only not ribbon GUI.".
But my question is how to change ribbon GUI in wpf designer programmatically?
I tried for example:
StiOptions.Wpf.CurrentTheme = StiOptions.Wpf.Themes.Office2003OliveGreenTheme;
But this just changes the Designer for WPF executable file not the one launches with report.DesignWithWfp() command.
Thank you.
But my question is how to change ribbon GUI in wpf designer programmatically?
I tried for example:
StiOptions.Wpf.CurrentTheme = StiOptions.Wpf.Themes.Office2003OliveGreenTheme;
But this just changes the Designer for WPF executable file not the one launches with report.DesignWithWfp() command.
Thank you.
Is there a way to customize the Wpf Designer?
Hello.
Thank you.
If you want to use Office2003OliveGreenTheme, please, add assembly Stimulsoft.Report.Wpf.Office2003OliveGreenTheme. Each theme is situated in own assembly.matin_mlk wrote:Hi, according to your explanation "This possible and only not ribbon GUI.".
But my question is how to change ribbon GUI in wpf designer programmatically?
I tried for example:
StiOptions.Wpf.CurrentTheme = StiOptions.Wpf.Themes.Office2003OliveGreenTheme;
But this just changes the Designer for WPF executable file not the one launches with report.DesignWithWfp() command.
Thank you.