Trying to customize the WPF-Designer

Stimulsoft Reports.WPF discussion
User avatar
PJoyeux
Posts: 160
Joined: Tue Nov 26, 2013 9:40 am
Location: Germany

Trying to customize the WPF-Designer

Post 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 6304 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 6304 times
Thanks and Cheers,
Pascal
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Trying to customize the WPF-Designer

Post 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.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Trying to customize the WPF-Designer

Post 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.
User avatar
PJoyeux
Posts: 160
Joined: Tue Nov 26, 2013 9:40 am
Location: Germany

Re: Trying to customize the WPF-Designer

Post 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 6252 times
But unfortunately looks like this:
Bild 3.png
Bild 3.png (39.85 KiB) Viewed 6252 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
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Trying to customize the WPF-Designer

Post by Alex K. »

Hello,

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

Thank you.
User avatar
PJoyeux
Posts: 160
Joined: Tue Nov 26, 2013 9:40 am
Location: Germany

Re: Trying to customize the WPF-Designer

Post 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?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Trying to customize the WPF-Designer

Post 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.
User avatar
PJoyeux
Posts: 160
Joined: Tue Nov 26, 2013 9:40 am
Location: Germany

Re: Trying to customize the WPF-Designer

Post 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
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Trying to customize the WPF-Designer

Post by HighAley »

Hello.

There are major changes in the List of Changes only.

Thank you.
User avatar
PJoyeux
Posts: 160
Joined: Tue Nov 26, 2013 9:40 am
Location: Germany

Re: Trying to customize the WPF-Designer

Post 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
Last edited by PJoyeux on Wed Dec 18, 2013 1:08 pm, edited 1 time in total.
Post Reply