public IUiElement[] GetRowHeaders()
{
// return (AutomationElement[])this._el.GetPatternPropertyValue(TablePattern.RowHeadersProperty, this._useCache);
// 20140302
// AutomationElement[] nativeElements = (AutomationElement[])this._tablePattern.GetParentElement().GetPatternPropertyValue(TablePattern.RowHeadersProperty, this._useCache);
var nativeElements = (classic.AutomationElement[])_tablePattern.GetParentElement().GetPatternPropertyValue(classic.TablePattern.RowHeadersProperty, _useCache);
IUiEltCollection tempCollection = AutomationFactory.GetUiEltCollection(nativeElements);
if (null == tempCollection || 0 == tempCollection.Count) {
return new UiElement[] {};
} else {
return tempCollection.Cast<IUiElement>().ToArray<IUiElement>();
}
}