Dela via


ScrollViewer.GetHorizontalScrollMode(DependencyObject) Method

Definition

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

public:
 static ScrollMode GetHorizontalScrollMode(DependencyObject ^ element);
 static ScrollMode GetHorizontalScrollMode(DependencyObject const& element);
public static ScrollMode GetHorizontalScrollMode(DependencyObject element);
function getHorizontalScrollMode(element)
Public Shared Function GetHorizontalScrollMode (element As DependencyObject) As ScrollMode

Parameters

element
DependencyObject

The element from which the property value is read.

Returns

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

Remarks

For more info, see Remarks for the HorizontalScrollMode property.

Applies to

See also