Partager via


IZoomableView.getPanAxis method

Retrieves the panning axis of the zoomed-in or zoomed-out child of the custom control.

Syntax

iZoomableView.getPanAxis();

Parameters

This method has no parameters.

Return value

Type: Variant of type String

Identifies the panning axis of the child control. Implementation specific.

Remarks

If both child controls of SemanticZoom share a common panning axis, SemanticZoom supports panning on the same axis. Otherwise, SemanticZoom does not support panning. The following table provides the panning support matrix for SemanticZoom given the panning axis of each child element.

Child 1

Horizontal

Vertical

Both

None

Child2

Horizontal

Horizontal

None

Horizontal

None

Vertical

None

Vertical

Vertical

None

Both

Horizontal

Vertical

Both

None

None

None

None

None

None

 

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

IZoomableView