GetHorizontalScrollBarVisibility Method

ScrollViewer.GetHorizontalScrollBarVisibility Method (DependencyObject)

 

Gets the value of the HorizontalScrollBarVisibility dependency property from a given element.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public static ScrollBarVisibility GetHorizontalScrollBarVisibility(
	DependencyObject element
)

Parameters

element
Type: System.Windows.DependencyObject

The element from which the property value is read.

Return Value

Type: System.Windows.Controls.ScrollBarVisibility

The value of the HorizontalScrollBarVisibility dependency property.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2016 Microsoft