ScrollViewer.SetZoomMode(DependencyObject, ZoomMode) ScrollViewer.SetZoomMode(DependencyObject, ZoomMode) ScrollViewer.SetZoomMode(DependencyObject, ZoomMode) 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 element, ZoomMode zoomMode) const;
public static void SetZoomMode(DependencyObject element, ZoomMode zoomMode)
Public Shared Sub SetZoomMode(element As DependencyObject, zoomMode As ZoomMode)

Parameters

element
DependencyObject DependencyObject

The element on which to set the property value.

zoomMode
ZoomMode ZoomMode

The value to set.

Remarks

For more info, see the ZoomMode property.

See also