ScrollPattern ScrollPattern ScrollPattern ScrollPattern Class

Definition

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

public ref class ScrollPattern : System::Windows::Automation::BasePattern
public class ScrollPattern : System.Windows.Automation.BasePattern
type ScrollPattern = class
    inherit BasePattern
Public Class ScrollPattern
Inherits BasePattern
Inheritance
ScrollPatternScrollPatternScrollPatternScrollPattern

Remarks

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

Fields

HorizontallyScrollableProperty HorizontallyScrollableProperty HorizontallyScrollableProperty HorizontallyScrollableProperty

Identifies the HorizontallyScrollable property.

HorizontalScrollPercentProperty HorizontalScrollPercentProperty HorizontalScrollPercentProperty HorizontalScrollPercentProperty

Identifies the HorizontalScrollPercent property.

HorizontalViewSizeProperty HorizontalViewSizeProperty HorizontalViewSizeProperty HorizontalViewSizeProperty

Identifies the HorizontalViewSize property.

NoScroll NoScroll NoScroll NoScroll

Specifies that scrolling should not be performed.

Pattern Pattern Pattern Pattern

Identifies the ScrollPattern control pattern.

VerticallyScrollableProperty VerticallyScrollableProperty VerticallyScrollableProperty VerticallyScrollableProperty

Identifies the VerticallyScrollable property.

VerticalScrollPercentProperty VerticalScrollPercentProperty VerticalScrollPercentProperty VerticalScrollPercentProperty

Identifies the VerticalScrollPercent property.

VerticalViewSizeProperty VerticalViewSizeProperty VerticalViewSizeProperty VerticalViewSizeProperty

Identifies the VerticalViewSize property.

Properties

Cached Cached Cached Cached

Gets the cached UI Automation property values for this ScrollPattern.

Current Current Current Current

Gets the current UI Automation property values for this ScrollPattern.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Scroll(ScrollAmount, ScrollAmount) Scroll(ScrollAmount, ScrollAmount) Scroll(ScrollAmount, ScrollAmount) Scroll(ScrollAmount, ScrollAmount)

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

ScrollHorizontal(ScrollAmount) ScrollHorizontal(ScrollAmount) ScrollHorizontal(ScrollAmount) ScrollHorizontal(ScrollAmount)

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

ScrollVertical(ScrollAmount) ScrollVertical(ScrollAmount) ScrollVertical(ScrollAmount) ScrollVertical(ScrollAmount)

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

SetScrollPercent(Double, Double) SetScrollPercent(Double, Double) SetScrollPercent(Double, Double) SetScrollPercent(Double, Double)

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

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also