jarmo/RAutomation — pull request #39 by leviwilson (2012-12-06 16:25:30+00:00)
Title: UIA Expand / Collapse Support

I've added the ability for a UIA control to expand or collapse any child item (that implements the `ExpandCollapsePattern`. This allows you to use a `SelectList` with a `TreeView` control, since `TreeView` items implement the `SelectionPattern` and its children implement `SelectionItemPattern` just as a `ComboBox` control does.

At some point it might make sense to make a specific `TreeView` control that derives from `SelectList`, but currently `SelectList` has methods specific to a `ComboBox` control (`#list_item_height`, `#scroll_to_item`, `#get_top_index`, etc.).