ScrollViewer.SetHorizontalScrollMode(DependencyObject, ScrollMode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.