Page 1 of 3

Trying to customize the WPF-Designer

Posted: Tue Nov 26, 2013 11:25 am
by PJoyeux
Hi,

I was able to alter a few things withing the designer. For example I was able to remove the "Open Report" Menu-Item from the Ribbons-MainMenu.

But how can I remove the same Item from the Quick-Access-Toolbar?
Open-Item in Quick-Access-Toolbar
Open-Item in Quick-Access-Toolbar
Bild 2.png (43.09 KiB) Viewed 6306 times
Further how can I prevent the contextmenu of the "Business Objects" from being shown?
Context-Menu in the DataDictionary.
Context-Menu in the DataDictionary.
Bild 3.png (20.33 KiB) Viewed 6306 times
Thanks and Cheers,
Pascal

Re: Trying to customize the WPF-Designer

Posted: Thu Nov 28, 2013 11:42 am
by Alex K.
Hello,
PJoyeux wrote:I was able to alter a few things withing the designer. For example I was able to remove the "Open Report" Menu-Item from the Ribbons-MainMenu.
Unfortunately, on current moment it is not possible. We have added your request in our to-do list. We will try to add it after release.
PJoyeux wrote:Further how can I prevent the contextmenu of the "Business Objects" from being shown?
Can you please describe your issue in more details.

Thank you.

Re: Trying to customize the WPF-Designer

Posted: Mon Dec 02, 2013 10:03 am
by HighAley
Hello.

We have made an improvement. The Open and Save buttons from the Quick-Access-Toolbar could be hidden with next options:

Code: Select all

StiOptions.Designer.Ribbon.ShowMainMenuReportOpen
StiOptions.Designer.Ribbon.ShowMainMenuReportSave
Thank you.

Re: Trying to customize the WPF-Designer

Posted: Wed Dec 11, 2013 4:22 pm
by PJoyeux
Hi again,

I just installed the newest version of the WPF-Reportengine (2013.3.1800) and now have another strange problem. When I call the WPF-Designer from code (objReport.DesignWithWpf();) using the "Office 2007 Silver"-Theme the Application-Button is only partially visible and the quick-access toolbar is missing completely.

It should look like this:
Bild 5.png
Bild 5.png (50.45 KiB) Viewed 6254 times
But unfortunately looks like this:
Bild 3.png
Bild 3.png (39.85 KiB) Viewed 6254 times
If I call the WPF-Designer directly ("C:\Program Files (x86)\Stimulsoft Reports.Wpf 2013.3 Trial\Bin\Designer.Wpf.exe") it looks fine. The problem occurs only when the designer gets called from code.

Any idea?

Cheers,
Pascal

Re: Trying to customize the WPF-Designer

Posted: Fri Dec 13, 2013 7:33 am
by Alex K.
Hello,

The issue is fixed. Solution will be available in the next build which will be available today.

Thank you.

Re: Trying to customize the WPF-Designer

Posted: Tue Dec 17, 2013 2:31 pm
by PJoyeux
Aleksey wrote: ...
The issue is fixed. Solution will be available in the next build which will be available today.
...
So this is fixed in 2014.1.1801?

Re: Trying to customize the WPF-Designer

Posted: Wed Dec 18, 2013 4:21 am
by HighAley
Hello.
PJoyeux wrote:So this is fixed in 2014.1.1801?
Yes. The issue is fixed in this build.
Do you have any problem else?

Thank you.

Re: Trying to customize the WPF-Designer

Posted: Wed Dec 18, 2013 10:44 am
by PJoyeux
Aleksey Andreyanov wrote:Hello.
PJoyeux wrote:So this is fixed in 2014.1.1801?
Yes. The issue is fixed in this build.
Do you have any problem else?

Thank you.
Ok, I will give it a try.

I was just wondering because this bug wasn't described in the List of Changes for that update when I checked a few days ago.

Pascal

Re: Trying to customize the WPF-Designer

Posted: Wed Dec 18, 2013 11:11 am
by HighAley
Hello.

There are major changes in the List of Changes only.

Thank you.

Re: Trying to customize the WPF-Designer

Posted: Wed Dec 18, 2013 11:47 am
by PJoyeux
Aleksey Andreyanov wrote:Hello.

There are major changes in the List of Changes only.

Thank you.
Ok...

Another question related to the initial title of the thread:

Where in the code (or better WHEN) can I change settings of the Designer so that they are reflected when the Designer is shown?

Some settings like "StiOptions.Designer.CodeTabVisible = false;" work but "StiOptions.Designer.Panels.Dictionary.ShowContextMenu = false" do not...

I call the Designer using objReport.DesignWithWpf().

What am I doing wrong?

Cheers,
Pascal