ScrollViewer.GetVerticalScrollMode(DependencyObject) Method

Definition

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

public:
 static ScrollMode GetVerticalScrollMode(DependencyObject ^ element);
 static ScrollMode GetVerticalScrollMode(DependencyObject const& element);
public static ScrollMode GetVerticalScrollMode(DependencyObject element);
function getVerticalScrollMode(element)
Public Shared Function GetVerticalScrollMode (element As DependencyObject) As ScrollMode

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 VerticalScrollMode property.

Applies to

See also