System.Windows.Automation.ScrollPattern.ScrollVertical C# (CSharp) Метод

ScrollVertical() публичный Метод

public ScrollVertical ( ScrollAmount amount ) : void
amount ScrollAmount
Результат void
        public void ScrollVertical(ScrollAmount amount)
        {
            try
            {
                this._pattern.Scroll(UIAutomationClient.ScrollAmount.ScrollAmount_NoAmount, (UIAutomationClient.ScrollAmount)amount);
            }
            catch (System.Runtime.InteropServices.COMException e)
            {
                Exception newEx; if (Utility.ConvertException(e, out newEx)) { throw newEx; } else { throw; }
            }
        }