public void ScrollVertical (ScrollAmount amount, bool log) { if (log) procedureLogger.Action (string.Format ("Scroll {0} vertically..", amount.ToString ())); ScrollPattern sp = (ScrollPattern) element.GetCurrentPattern (ScrollPattern.Pattern); sp.ScrollVertical (amount); }
public void Scroll (ScrollAmount horizontalAmount, ScrollAmount verticalAmount, bool log) { if (log) procedureLogger.Action (string.Format ("Scroll {0} horizontally and {1} vertically.", horizontalAmount.ToString (), verticalAmount.ToString ())); ScrollPattern sp = (ScrollPattern) element.GetCurrentPattern (ScrollPattern.Pattern); sp.Scroll (horizontalAmount, verticalAmount); }
public void ScrollVertical(ScrollAmount amount, bool log) { if (log) { procedureLogger.Action(string.Format("Scroll {0} vertically..", amount.ToString())); } ScrollPattern sp = (ScrollPattern)element.GetCurrentPattern(ScrollPattern.Pattern); sp.ScrollVertical(amount); }
public void Scroll(ScrollAmount horizontalAmount, ScrollAmount verticalAmount, bool log) { if (log) { procedureLogger.Action(string.Format("Scroll {0} horizontally and {1} vertically.", horizontalAmount.ToString(), verticalAmount.ToString())); } ScrollPattern sp = (ScrollPattern)element.GetCurrentPattern(ScrollPattern.Pattern); sp.Scroll(horizontalAmount, verticalAmount); }