This is a migrated thread and some comments may be shown as answers.

WPF RadGridView properties different

3 Answers 78 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 30 Jan 2015, 10:28 AM
Hi 

I am trying to create a coded test step to access a Telerik RadGridView control in my WPF application.

I have added the control into the elements list, but the properties of the element shown by intellisense are different to those of the Telerik RadGridView control (as defined here http://docs.telerik.com/devtools/wpf/api/html/Properties_T_Telerik_Windows_Controls_RadGridView.htm)

e.g. Telerik RadGridView control has a property called Columns, which doesn’t appear to be available within the code step.

Can you explain why this is?

Thanks.

3 Answers, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 04 Feb 2015, 08:22 AM
Hello Mike,

Please note that in the testing division we are building a different API that the control's API. You can access our API Reference here.

Upon request we can add the required property for you. Is the Columns property provided just as an example or you require that particular property? 

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Mike
Top achievements
Rank 1
answered on 06 Feb 2015, 01:32 PM
Hi Ivaylo
No, the Columns property was just an example.
Out of interest, is it be possible to reference the proper WPF RadGridView class and then cast the control to it, to access all of the properties?
Thanks,
Mike.
0
Ivaylo
Telerik team
answered on 11 Feb 2015, 08:24 AM
Hello Mike,

You can access all of the properties using AutomationProperty, please refer to this article for more information and example on accessing specific properties.

The article is for Silverlight, but you can also use the same code for WPF applications.

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Mike
Top achievements
Rank 1
Answers by
Ivaylo
Telerik team
Mike
Top achievements
Rank 1
Share this question
or