Full Screen Issue


i tried make app full screen, , work video app , everything, tried installing silverlight app shows html (silverlight 4) when this, html , such stops being able interacted with, if exit full screen, starts working again though.

 is there way app go fullscreen html still able interact html?

 

1    partial public class mainpage  2        inherits usercontrol  3      4        public sub new()  5            initializecomponent()  6        end sub  7      8        private sub button1_click(byval sender as system.object, byval e as system.windows.routedeventargs)  9            app.current.install()  10       end sub  11     12       private sub usercontrol_loaded(byval sender as system.object, byval e as system.windows.routedeventargs) handles mybase.loaded  13           webbrowser1.navigatetostring("<iframe src=http://www.google.com/ width=100% height=100%></iframe>")  14       end sub  15     16       private sub button_click(byval sender as system.object, byval e as system.windows.routedeventargs)  17           app.current.host.content.isfullscreen = true  18       end sub  19     20   end class  

 

1    <usercontrol x:class="silverlightapplication4.mainpage"  2        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"  3        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"  4        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"  5        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"  6        mc:ignorable="d"  7        d:designheight="300" d:designwidth="400">  8      9        <grid x:name="layoutroot" background="white">  10           <webbrowser name="webbrowser1"/>  11           <button click="button1_click" content="install application" horizontalalignment="center" margin="0,0,0,10" verticalalignment="bottom"/>  12           <button click="button_click"  content="full screen" horizontalalignment="center" margin="0,0,0,38" verticalalignment="bottom"/>  13       </grid>  14   </usercontrol>  

 

btw, bottom ix xaml code silverlight.

hi,

according document here:

in addition, when using webbrowser control in silverlight application in full-screen mode, webbrowser not interactive

if want feature available in future release, please feel free suggest on http://connect.microsoft.com, thanks.



Silverlight  >  Getting Started with Silverlight



Comments

Popular posts from this blog

Motherboard replacement

Cannot create Full Text Search catalog after upgrading to V12 - Database is not fully started up or it is not in an ONLINE state

Remote Desktop App - Error 0x207 or 0x607