ScrollViewer.GetZoomMode(DependencyObject) Method

Definition

Gets the value of the ZoomMode dependency property / ScrollViewer.ZoomMode XAML attached property from a specified element.

public:
 static ZoomMode GetZoomMode(DependencyObject ^ element);
 static ZoomMode GetZoomMode(DependencyObject const& element);
public static ZoomMode GetZoomMode(DependencyObject element);
function getZoomMode(element)
Public Shared Function GetZoomMode (element As DependencyObject) As ZoomMode

Parameters

element
DependencyObject

The element from which the property value is read.

Returns

The value of the property, as obtained from the property store.

Remarks

For more info, see the ZoomMode property.

Applies to

See also