ScrollPattern.ScrollPatternInformation.VerticallyScrollable Property

 

Retrieves a value that indicates whether the UI Automation element can scroll vertically.

Namespace:   System.Windows.Automation
Assembly:  UIAutomationClient (in UIAutomationClient.dll)

member VerticallyScrollable : bool with get

Property Value

Type: System.Boolean

true if the UI Automation element can scroll horizontally; otherwise false. The default value is false.

This property can be dynamic. For example, the content area of the UI Automation element might not be larger than the current viewable area, meaning VerticallyScrollable is false. However, resizing the UI Automation element or adding child items can increase the bounds of the content area beyond the viewable area, indicating that VerticallyScrollable is true.

In the following example, a ScrollPatterncontrol pattern is obtained from a UI Automation element and is then used to vertically scroll the element the requested amount.

No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: