C# Class System.Windows.Automation.ScrollPattern

Inheritance: BasePattern
显示文件 Open project: apetrovskiy/STUPS Class Usage Examples

Public Properties

Property Type Description
HorizontalScrollPercentProperty AutomationProperty
HorizontalViewSizeProperty AutomationProperty
HorizontallyScrollableProperty AutomationProperty
Pattern AutomationPattern
VerticalScrollPercentProperty AutomationProperty
VerticalViewSizeProperty AutomationProperty
VerticallyScrollableProperty AutomationProperty

Public Methods

Method Description
Scroll ( ScrollAmount horizontalAmount, ScrollAmount verticalAmount ) : void
ScrollHorizontal ( ScrollAmount amount ) : void
ScrollVertical ( ScrollAmount amount ) : void
SetScrollPercent ( double horizontalPercent, double verticalPercent ) : void

Private Methods

Method Description
ScrollPattern ( AutomationElement el, UIAutomationClient pattern, bool cached ) : System
Wrap ( AutomationElement el, object pattern, bool cached ) : object

Method Details

Scroll() public method

public Scroll ( ScrollAmount horizontalAmount, ScrollAmount verticalAmount ) : void
horizontalAmount ScrollAmount
verticalAmount ScrollAmount
return void

ScrollHorizontal() public method

public ScrollHorizontal ( ScrollAmount amount ) : void
amount ScrollAmount
return void

ScrollVertical() public method

public ScrollVertical ( ScrollAmount amount ) : void
amount ScrollAmount
return void

SetScrollPercent() public method

public SetScrollPercent ( double horizontalPercent, double verticalPercent ) : void
horizontalPercent double
verticalPercent double
return void

Property Details

HorizontalScrollPercentProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation HorizontalScrollPercentProperty
return AutomationProperty

HorizontalViewSizeProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation HorizontalViewSizeProperty
return AutomationProperty

HorizontallyScrollableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation HorizontallyScrollableProperty
return AutomationProperty

Pattern public_oe static_oe property

public static AutomationPattern,System.Windows.Automation Pattern
return AutomationPattern

VerticalScrollPercentProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation VerticalScrollPercentProperty
return AutomationProperty

VerticalViewSizeProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation VerticalViewSizeProperty
return AutomationProperty

VerticallyScrollableProperty public_oe static_oe property

public static AutomationProperty,System.Windows.Automation VerticallyScrollableProperty
return AutomationProperty