Bugzilla – Bug 551639
Cannot get ScrollBarElement on a disabled TextBox
Last modified: 2009-10-31 08:55:23 UTC
Assume we have a multiline winforms textbox, and the textbox contains some very long lines so that its horizontal scroll bar is shown. Then we disable the TextBox and tries to get its HScrollBar AutomationElement. We can get the AutomationElement for the HScrollBar on Windows/.Net, but can't on our implementation. To Reproduce, Run RangeValuePatternTest.Z_NotEnabledTest in UIAutomationClientTests.