I am trying to perform testing against a XamDataGrid via AutomationPeers. My datasource is grouped, with each group having child records. However, when I try to expand the band using the IExpandCollapseProvider of the RecordAutomationPeer, I get an InvalidOperationException(). It seems the peer is reporting the ExpandCollapseState of the group band as "LeafNode" but it should be "Collapsed" as the band is collapsed and it does have child records.
Can someone please confirm this is a bug and let me know if there are any workarounds using AutomationPeer? For various reasons, I don't want to operate directly against the control.
Thanks.
Brian
Hello Brian,
Thank you for your post.
I have been looking into it, but it seems like I am missing something about your scenario, so if this is still an issue for you, could you please send me, an isolated sample project, where this is reproduced, so I can investigate it further for you.
Looking forward to hearing from you.
I am just checking your progress on the issue that you are having.
If you require any further assistance please do not hesitate to ask.
I have attached a sample project with the issue I am facing in 14.2. Click on the button at the bottom of the grid and you should receive an exception.
We have shipped out a new service release where your issue is resolved. I'd be glad to find out if you had tested it out and if it had met your requirements.
You can download the Service Releases by logging to our web site and going to Account\My Keys and Downloads.
I have logged this behavior with our developers in our tracking system, with an issue ID of 192681. I have also created a support ticket on your behalf with number CAS-153819-F5K9C7 in order to link the development issue to it so that you are automatically updated when a Service Release containing your fix is available for download.