Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to get automation ids of items in a itemscontrol?



How to get automation ids of items in a itemscontrol?..

Answer / Durgesh Kumar

To get the AutomationIds of items in an ItemsControl, you can use the AutomationPeer.GetAutomationIdProperty method. However, ItemsControl does not provide automatic support for getting AutomationIds. You need to implement IInputElementProvider interface and override the GetFirstChildCore and GetLastChildCore methods to get access to each child element's AutomationPeer and retrieve its AutomationId.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WPF Interview Questions

Provide some instances where you have "xmlns:x" namespace in xaml?

1 Answers  


When you create a WPF application instead of Windows Forms application?

1 Answers  


Explain how you can display different data at run time and design time?

1 Answers  


What is dependency property in wpf?

1 Answers  


How does "updatesourcetrigger" affect bindings?

1 Answers  


What is the difference between User Settings and Application Settings in WPF?

1 Answers   MindCracker,


List some common localization or globalization practices for localizing or globalizing wpf?

1 Answers  


What are wpf controls?

1 Answers  


Define is wpf and state its advantages?

1 Answers  


What is the value converter in wpf?

1 Answers  


What type of elements can be hosted in a ToolBar?

1 Answers  


What is milcore in wpf?

1 Answers  


Categories