Beispiel #1
0
 public static IUiElement PerformScrollVertical(this IUiElement element, classic.ScrollAmount amount)
 {
     try {
         element.GetCurrentPattern <IScrollPattern>(classic.ScrollPattern.Pattern).ScrollVertical(amount);
     } catch (Exception) {
         //
         // throw;
     }
     return(element);
 }
Beispiel #2
0
 public virtual void ScrollVertical(classic.ScrollAmount amount)
 {
     // UiaCoreApi.ScrollPattern_Scroll(this._hPattern, ScrollAmount.NoAmount, amount);
     _scrollPattern.ScrollVertical(amount);
 }
Beispiel #3
0
 public virtual void Scroll(classic.ScrollAmount horizontalAmount, classic.ScrollAmount verticalAmount)
 {
     // UiaCoreApi.ScrollPattern_Scroll(this._hPattern, horizontalAmount, verticalAmount);
     _scrollPattern.Scroll(horizontalAmount, verticalAmount);
 }