WPF RadGridView properties different

4 posts, 0 answers
  1. Mike
    Mike avatar
    4 posts
    Member since:
    Nov 2014

    Posted 30 Jan 2015 Link to this post

    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.
  2. Ivaylo
    Admin
    Ivaylo avatar
    782 posts

    Posted 04 Feb 2015 Link to this post

    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!
  3. Mike
    Mike avatar
    21 posts
    Member since:
    Sep 2014

    Posted 06 Feb 2015 in reply to Ivaylo Link to this post

    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.
  4. Ivaylo
    Admin
    Ivaylo avatar
    782 posts

    Posted 11 Feb 2015 Link to this post

    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!
Back to Top