Jaa


ScrollViewer.SetZoomMode(DependencyObject, ZoomMode) Method

Definition

Sets the value of the ZoomMode dependency property / ScrollViewer.ZoomMode XAML attached property on a specified element.

public:
 static void SetZoomMode(DependencyObject ^ element, ZoomMode zoomMode);
 static void SetZoomMode(DependencyObject const& element, ZoomMode const& zoomMode);
public static void SetZoomMode(DependencyObject element, ZoomMode zoomMode);
function setZoomMode(element, zoomMode)
Public Shared Sub SetZoomMode (element As DependencyObject, zoomMode As ZoomMode)

Parameters

element
DependencyObject

The element on which to set the property value.

zoomMode
ZoomMode

The value to set.

Remarks

For more info, see the ZoomMode property.

Applies to

See also