Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Upside down browser in WPF application

Tags:

c#

.net

wpf

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.

like image 496
Alan Avatar asked Jun 08 '11 06:06

Alan


2 Answers

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/

like image 172
Jens Avatar answered Oct 04 '22 14:10

Jens


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.

Sample/Tutorial

like image 41
TalkingCode Avatar answered Oct 04 '22 15:10

TalkingCode