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 const & element, ScrollMode verticalScrollMode);
public static void SetVerticalScrollMode(DependencyObject element, ScrollMode verticalScrollMode);
Public Shared Sub SetVerticalScrollMode (element As DependencyObject, verticalScrollMode As ScrollMode)

Parameters

element
DependencyObject

The element on which to set the property value.

verticalScrollMode
ScrollMode

The value to set.

Remarks

For more info, see the VerticalScrollMode property.

Applies to

See also