WorkflowViewElement.GetAutomationIdMemberName Method

.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.

Namespace:  System.Activities.Presentation
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

protected virtual string GetAutomationIdMemberName()

Return Value

Type: System.String
The 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.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft