Unable to detect the textboxes with their x:Name in desktop app
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2023
07:51 AM
06-05-2023
07:51 AM
Unable to detect the textboxes with their x:Name in desktop app
I have a desktop app and I want to detect the textboxes with their x:Name but I am not sure how to do that. I am unable to find the documentation for it as well. please help
Labels:
3 REPLIES 3
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2023
07:53 AM
06-05-2023
07:53 AM
What are the properties shown in Object Spy or Object Browser for your UI control?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2023
08:06 AM
06-05-2023
08:06 AM
How to get its object through its name it is the object spy view
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2023
08:15 AM
06-05-2023
08:15 AM
This is the object, WPFObject("CPNTextBlock"). To retrieve e.g. 921-00003 you would so something like WPFObject("CPNTextBlock").contentText.
Worth reading through Testing WPF Applications.
