ScrollViewer.SetHorizontalScrollMode(DependencyObject, ScrollMode) Method

Definition

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

public:
 static void SetHorizontalScrollMode(DependencyObject ^ element, ScrollMode horizontalScrollMode);
 static void SetHorizontalScrollMode(DependencyObject const& element, ScrollMode const& horizontalScrollMode);
public static void SetHorizontalScrollMode(DependencyObject element, ScrollMode horizontalScrollMode);
function setHorizontalScrollMode(element, horizontalScrollMode)
Public Shared Sub SetHorizontalScrollMode (element As DependencyObject, horizontalScrollMode As ScrollMode)

Parameters

element
DependencyObject

The element on which to set the property value.

horizontalScrollMode
ScrollMode

The value to set.

Remarks

For more info, see Remarks for the HorizontalScrollMode property.

Applies to

See also