ScrollPattern Class
TOC
Collapse the table of content
Expand the table of content

ScrollPattern Class

 

Represents controls that act as scrollable containers for a collection of child elements. The children of this element support ScrollItemPattern.

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

System.Object
  System.Windows.Automation.BasePattern
    System.Windows.Automation.ScrollPattern

public class ScrollPattern : BasePattern

NameDescription
System_CAPS_pubpropertyCached

Gets the cached UI Automation property values for this ScrollPattern.

System_CAPS_pubpropertyCurrent

Gets the current UI Automation property values for this ScrollPattern.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Frees resources and performs other cleanup operations before the object is reclaimed by garbage collection.(Inherited from BasePattern.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodScroll(ScrollAmount, ScrollAmount)

Scrolls the visible region of the content area horizontally and vertically.

System_CAPS_pubmethodScrollHorizontal(ScrollAmount)

Scrolls the currently visible region of the content area, horizontally, the specified ScrollAmount.

System_CAPS_pubmethodScrollVertical(ScrollAmount)

Scrolls the currently visible region of the content area, vertically, the specified ScrollAmount.

System_CAPS_pubmethodSetScrollPercent(Double, Double)

Sets the horizontal and/or vertical scroll position as a percentage of the total content area within the AutomationElement.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticHorizontallyScrollableProperty

Identifies the HorizontallyScrollable property.

System_CAPS_pubfieldSystem_CAPS_staticHorizontalScrollPercentProperty

Identifies the HorizontalScrollPercent property.

System_CAPS_pubfieldSystem_CAPS_staticHorizontalViewSizeProperty

Identifies the HorizontalViewSize property.

System_CAPS_pubfieldSystem_CAPS_staticNoScroll

Specifies that scrolling should not be performed.

System_CAPS_pubfieldSystem_CAPS_staticPattern

Identifies the ScrollPatterncontrol pattern.

System_CAPS_pubfieldSystem_CAPS_staticVerticallyScrollableProperty

Identifies the VerticallyScrollable property.

System_CAPS_pubfieldSystem_CAPS_staticVerticalScrollPercentProperty

Identifies the VerticalScrollPercent property.

System_CAPS_pubfieldSystem_CAPS_staticVerticalViewSizeProperty

Identifies the VerticalViewSize property.

See Control Pattern Mapping for UI Automation Clients for examples of controls that may implement this control pattern.

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft