水平スクロールバーの値を -1 から -2 に変更しようとしています。私はそれにアクセスすることができます..しかし、次にその値を変更する必要があります..
AutomationElement _sideBar = _ClickButtonElement.FindFirst(TreeScope.Descendants, new PropertyCondition(AutomationElement.ClassNameProperty, "WindowsForms10.SCROLLBAR.app.0.378734a"));
_clickButtonElement は、スクロールバーの親ウィンドウの AutomationElement です。