.NET Framework 4.6 and 4.5
When implemented in a derived class, gets the name of a property of the model item associated with the element that is used as automation ID.
protected virtual string GetAutomationIdMemberName()
Type: System.StringThe name to use as automation ID. The base class always returns null.
Implement this method in your derived class to add your own handling that specifies a property of a model item to be used to identify the model item to automation.
Supported in: 4.6, 4.5, 4
.NET Framework Client Profile
Supported in: 4
(1500 characters remaining)
Thank you for your feedback