How you can get Automation IDs of items in a ItemsControl?
Submitted by: AdministratorThe best way to do this is by setting it Name property as it is utilized for automation purposes by default. But if you require to give an ID to an element, other than it's name, then the AutomationProperties.AutomationID property can be set as per need.
Submitted by:
Submitted by:
Read Online WPF Job Interview Questions And Answers
Top WPF Questions
☺ | What is WPF? |
☺ | How can I mark the default value of a custom dependency property to be false? |
☺ | How can I enumerate all the descendants of a visual object? |
☺ | What is XAML extensible markup language? |
☺ | How can I create Custom Read-Only Dependency Properties? |
Top Application Program Categories
☺ | AutoCAD Interview Questions. |
☺ | Microsoft Office Interview Questions. |
☺ | Microsoft Outlook Interview Questions. |
☺ | Microsoft Excel Interview Questions. |
☺ | WPF Interview Questions. |