WP7 Silverlight + XNA: application bar on -> no longer fullscreen xna rendering? - silverlight

I'm working on a hybrid silverlight/XNA app for WP7. I want the XNA part to render the full screen, exept for an application bar, which is silverlight. Without the application bar on, XNA renders fullscreen. As soon as i turn on the application bar, XNA leaves black bands on the top and bottom of the screen (i'm working in landscape mode). The application bar does use the full screen height.
The XAML contains the following lines:
mc:Ignorable="d" d:DesignHeight="480" d:DesignWidth="728"
shell:SystemTray.IsVisible="False">
Does anyone know how to fix this?

I think it's the same problem as this article in French. (because ApplicationBar and SystrayBar are two elements of the shell)
http://blog.naviso.fr/wordpress/?p=1304

Related

Why is it my application which contains DWM thumbnail lags when the target app was moved to second monitor?

Scenario:
I have a wpf fullscreen borderless application that displays a live thumbnail of a borderless, fullscreen UWP app that plays video.
My laptop setup includes 1 extended monitor thru HDMI port.
My wpf app can display a live thumbnail of the target app very well without lag.
But the problem occurs when I move the target UWP app to the second screen, my wpf app that contains DWM thumbnail is lagging and stuck on a single frame.
Hypothesis:
It could be the graphics adapter/ or native video source thru HDMI. Because if I move the target UWP app back to primary screen my wpf app is working well.
Also if I use miracast for second display instead of HDMI, still my app works well without lag.
Is there any known workaround for this? or anyone has the same problem? How did you fix it?
thanks!

Silverlight application converted to window application doesn't work

Below link is an Intel realsense application using Silverlight. I have tried this
in window form and it doesn't work.
http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2015/04/27/intel-realsense-camera-f200-segmenting-video-for-green-screen-scenarios.aspx
For mediaelement I used window media player and for image I used picturebox. Video is working in this but no image in picture.
Can anyone tell how to make this same application works in window application as I'm new to this.

Detect navigation buttons bar appearance in WP8 Silverlight app on Lumia 730/735

Lumia 730/735 have the on-screen navigation buttons, and this bar can be hidden/displayed using the swipe upward screen gesture. System apps correctly process the moment when this bar is hidden or displayed - they increase/decrease the height of their current page accordingly.
I have been developing a WP8 Silverlight app to manage checklists for 2 years. Recently I've obtained a Lumia 730 phone, and I'm testing my app on it. As I can see, some pages of my app does not fit the available screen size automatically. Look, for instance, at the following picture - I can't scroll a checklist to see the very last item when the navigation buttons bar becomes visible (the right screen):
As I understand, this happens because of some settings and non-standard page layout I use. My question is the following: how can I detect the moment when the visibility of the on-screen navigation buttons bar changes to correct the layout of my page from code?
Unfortunatelly, as far as i know, you cannot get any information about the bottom on-screen navigation status bar in Windows Phone 8. This is a good reason to develop a Windows Universal application. Propably this is what Microsoft wants from the developers.

WPF Window with Control in Full Screen Mode

I have a WPF window hosting a web browser control. I want this WPF window to always be on top. Now for example user surfs to a Youtube page and the web player plays a video. User clicks on the full screen button in the Youtube player and the video fills the screen. But my WPF window that hosts web browser control now is still on top of everything and it looks weird because in the background, the video plays fullscreen.
Is there any way an embedded control can tell WPF window that it's in fullscreen mode now so that the WPF is no longer on top, say maybe hidden?
Thanks for any advice!
Try to play with Topmost property. If you display content not in Popup than this should works:
window.Topmost = false;

Background HTML visibiltiy in Silverlight Full Screen Mode

I am creating a page with Silverlight component and some HTML controls.
On enabling Silverlight's full screen, I am unable to view the background HTML controls. Even if I set the xaml's background to transparent.
Please let me know if it's possible to view the HTML controls in full screen mode of Silverlight or not.
Thanks
I doubt that such thing is possible, for security reasons, as the keybordsupport in Fullscreen is. It would enable you create such things as a app totally visible observing the movements.
But I might be wrong !
Fullscreen mode takes the content currently restricted to rectangle on hosts window (the Browser client area window) and displays it on full screen window. This full screen window is a new window and contains only the Siverlight content.
When silverlight is rendering in a windowless mode it is simply rendering directly on to the host window. When you got fullscreen mode in Silverlight you are not affecting the hosts window, fullscreen effectively suppends windowless mode as it needs a new window of its own to render on.

Resources