ScrollViewer.GetVerticalScrollMode(DependencyObject) Method

Definition

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

Equivalent WinUI method: Microsoft.UI.Xaml.Controls.ScrollViewer.GetVerticalScrollMode.

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

ScrollMode

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

Remarks

For more info, see the VerticalScrollMode property.

Applies to

See also