System.Windows.Automation.ScrollPattern.ScrollHorizontal C# (CSharp) Method

ScrollHorizontal() public method

public ScrollHorizontal ( ScrollAmount amount ) : void
amount ScrollAmount
return void
        public void ScrollHorizontal(ScrollAmount amount)
        {
            try
            {
                this._pattern.Scroll((UIAutomationClient.ScrollAmount)amount, UIAutomationClient.ScrollAmount.ScrollAmount_NoAmount);
            }
            catch (System.Runtime.InteropServices.COMException e)
            {
                Exception newEx; if (Utility.ConvertException(e, out newEx)) { throw newEx; } else { throw; }
            }
        }