Uredi

Deli z drugimi prek


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
ScrollPattern

Remarks

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

Fields

HorizontallyScrollableProperty

Identifies the HorizontallyScrollable property.

HorizontalScrollPercentProperty

Identifies the HorizontalScrollPercent property.

HorizontalViewSizeProperty

Identifies the HorizontalViewSize property.

NoScroll

Specifies that scrolling should not be performed.

Pattern

Identifies the ScrollPattern control pattern.

VerticallyScrollableProperty

Identifies the VerticallyScrollable property.

VerticalScrollPercentProperty

Identifies the VerticalScrollPercent property.

VerticalViewSizeProperty

Identifies the VerticalViewSize property.

Properties

Cached

Gets the cached UI Automation property values for this ScrollPattern.

Current

Gets the current UI Automation property values for this ScrollPattern.

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Scroll(ScrollAmount, ScrollAmount)

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

ScrollHorizontal(ScrollAmount)

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

ScrollVertical(ScrollAmount)

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

SetScrollPercent(Double, Double)

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

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also