Partager via


The IE XAML UI Sample Browser (Windows Embedded CE 6.0)

1/6/2010

You can use the IE XAML UI Sample source code to create a custom container application that has all the features of IESample, a tiling engine, and xxxrframeworkextxx.

Zooming and Scrolling

The tiling engine in IE XAML UI Sample provides panning and zooming in a Web page. By default, a Web page loads to fit the screen width. If your Windows Embedded CE powered device supports touch gestures, when the user double-taps an element on the Web page, the page zooms in, so that the element fits the screen width. The user can also zoom in by tapping the zoom button.

The code to handle zooming, including definitions of minimum and maximum magnification factors, is found in

%_WINCEROOT%\PUBLIC\IE\OAK\IESAMPLE_EXR\UI\ZoomController.cpp

Gesture Support

The tiling engine in IE XAML UI Sample manages touch gesture input, such as a flick or pan gesture to scroll the page and a double-tap to zoom the page. For more information, see Touch Gestures.

The code to handle touch gestures begins with case WM_GESTURE: in

%_WINCEROOT%\PUBLIC\IE\OAK\IESAMPLE_EXR\CORE\TileWindow.cpp

Customizing the User Interface

You can customize both the functionality and the look of browser elements in the user interface of IE XAML UI Sample by using xxuiframeworkxx. You can also reuse elements across multiple applications to provide a consistent look. For more information, see Customizing the Browser UI with Silverlight for Windows Embedded.

See Also

Concepts

Internet Explorer Embedded Samples
The IESample Browser