I am writing a WPF application using Csharp. Its a touch application that has four browser windows displayed. Two upside down. The screen will be built into a table and lie flat. Four people will use the table - two on one side and two on the other. Thus the need for the upside down (or 180 degree rotation) browsers. I have tried using SilverLight and its Browser Brush. This works to display the browser content upside down BUT to interact with the browser you have to make the browser control active (instead of the Brush) and this turns the content back the right way up. I guess what I need is a Browser control that can be rotated in the normal way and work rotated. IE in Dot Net wont work.
我正在使用Csharp编写WPF应用程序。它是一个触摸应用程序,显示四个浏览器窗口。两个颠倒了。屏幕将嵌入桌子并平躺。四个人将使用桌子 - 一边两个,另一边两个。因此需要颠倒(或180度旋转)浏览器。我尝试过使用SilverLight及其浏览器画笔。这样可以将浏览器内容颠倒显示,但要与浏览器进行交互,必须使浏览器控件处于活动状态(而不是刷机),这样才能使内容恢复正常。我想我需要的是一个浏览器控件,可以正常方式旋转并旋转工作。 Dot Net的IE不会工作。
2 个解决方案
#1
1
Sascha Barber and Chris Cavanagh have blog posts about an alternative WebBrowser Control based on Chromium that behaves like a real WPF control. Check out http://sachabarber.net/?p=597 and http://chriscavanagh.wordpress.com/2009/08/25/a-real-wpf-webbrowser/
Sascha Barber和Chris Cavanagh有关于基于Chromium的替代WebBrowser控件的博客文章,其行为类似于真正的WPF控件。查看http://sachabarber.net/?p=597和http://chriscavanagh.wordpress.com/2009/08/25/a-real-wpf-webbrowser/
#2
1
If it is WPF application you can use a simple RotateTransform to rotate controls any degree you want. So upside down should be no problem.
如果它是WPF应用程序,您可以使用简单的RotateTransform旋转控件任何程度。所以颠倒应该没问题。
样本/教程
#1
1
Sascha Barber and Chris Cavanagh have blog posts about an alternative WebBrowser Control based on Chromium that behaves like a real WPF control. Check out http://sachabarber.net/?p=597 and http://chriscavanagh.wordpress.com/2009/08/25/a-real-wpf-webbrowser/
Sascha Barber和Chris Cavanagh有关于基于Chromium的替代WebBrowser控件的博客文章,其行为类似于真正的WPF控件。查看http://sachabarber.net/?p=597和http://chriscavanagh.wordpress.com/2009/08/25/a-real-wpf-webbrowser/
#2
1
If it is WPF application you can use a simple RotateTransform to rotate controls any degree you want. So upside down should be no problem.
如果它是WPF应用程序,您可以使用简单的RotateTransform旋转控件任何程度。所以颠倒应该没问题。
样本/教程