Language: HTML | XAML

Adding SemanticZoom controls (XAML)

Applies to Windows and Windows Phone

The SemanticZoom control enables the user to zoom between two different views of the same content. The topics in this section show you how to use the SemanticZoom control.

A SemanticZoom control's zoomed-out and zoomed-in views

Watch this brief video for an overview of Semantic Zoom and how to implement it with C# and XAML.

Semantic zooming is performed through direct manipulation with the pinch interaction (moving the fingers closer together zooms in and moving them apart zooms out), or by holding the CTRL key down while scrolling the mouse scroll wheel, or by holding the CTRL key down and pressing the + or - key.

Zooming through content

Semantic zoom is useful for quickly panning through content. Tapping the content in a zoomed-out view will zoom the view and pan to the tapped point, as shown in the following three screen shots.

Zoomed out, the entire content can be a touch target:

Zoomed out, the entire content can be a touch target.

A tap on a section of the content:

 tap on a section of the content.

Zoomed in and panned to the tapped area:

Zoomed in and panned to the tapped area.

A smooth cross-fade animation is used for the transition from one semantic zoom to another. This is the default touch behavior and cannot be customized.

In this section

TopicDescription

Quickstart: Adding SemanticZoom controls

Learn how to use the SemanticZoom control to zoom between two views of the same content.

SemanticZoom styles and templates

This topic describes the styles and templates for the SemanticZoom control.

Guidelines and checklist for SemanticZoom controls

Follow these guidelines for using the SemanticZoom control.

 

 

 

Show:
© 2014 Microsoft