|
Rank: Newbie Groups: Member
Joined: 6/10/2024 Posts: 2
|
Hi
I added PdfViewer into a Wpf Application inside of a Grid. Everything works fine, but I am not able to put anything above the PdfViewer. It is topmost always.
I checked the zIndex-Values of all UI-Elements, but found no other values than 0.
How can I solve that problem?
Thanks and best regards Christine
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
This is a known limitation of WPF. In WPF a windowed control is always over a non-windowed control. So even if you set a non-window control's zIndex to higher than a windowed control it still won't show above the windowed control. The PdfViewer happens to be a windowed control because it uses its own window handle managed by the browser engine. In order to show anything above the windowed control, the content itself has to be a window. You can search about "WPF airspace issue" for more details about this.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 6/10/2024 Posts: 2
|
Hej,
Ok - then I have to find a workaround. Probably an overlay window or popup.
How can I end the "Present" Mode? It says "Press ESC key to end it", but the key is not recognized in WPF application. Or can I just hide it or the complete DropDown menue?
Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
What do you mean by "Present" mode? Exactly how do you display the overlay window or popup?
|
|
Rank: Newbie Groups: Member
Joined: 6/10/2024 Posts: 2
|
That has to do nothing with the Overlay Window or Popup. It appears in WPF applications always.
In the dropdown menu at the right top (below the 3 vertical dots) you find: - Two-page view - Annotations - Present - Document properties
If I press "Present" the viewer is shown in full page mode, but I am not able to leave it in any way.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
I see. We are looking into this and will reply here again when we have an update.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
This is just to let you know that we have found the root of the problem. This will be resolved in our next build. We will reply here again when we have an update.
Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
This is just to let you know that we have fixed the issue with Present mode. Now you should be able to cancel Present mode with ESC key.
Thanks!
|
|