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