ScrollViewer.SetVerticalScrollMode(DependencyObject, ScrollMode) ScrollViewer.SetVerticalScrollMode(DependencyObject, ScrollMode) ScrollViewer.SetVerticalScrollMode(DependencyObject, ScrollMode) ScrollViewer.SetVerticalScrollMode(DependencyObject, ScrollMode) Method

Definition

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

public : static void SetVerticalScrollMode(DependencyObject element, ScrollMode verticalScrollMode)
static void SetVerticalScrollMode(DependencyObject element, ScrollMode verticalScrollMode) const;
public static void SetVerticalScrollMode(DependencyObject element, ScrollMode verticalScrollMode)
Public Shared Sub SetVerticalScrollMode(element As DependencyObject, verticalScrollMode As ScrollMode)

Parameters

element
DependencyObject DependencyObject

The element on which to set the property value.

verticalScrollMode
ScrollMode ScrollMode

The value to set.

Remarks

For more info, see the VerticalScrollMode property.

See also