dotnet / dotnet/dotnet-api-docs
targetControl argument is ambiguous
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
The description "The automation element of interest." doesn't explain what this element is. Is it the window that is supposed to open? Is it the control that preceded the window being opened? Is the parent window, or some other ancestor element up the tree from the window being opened? How do you get his automationElement so you can register it for this method?
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: 3bdd7a9a-b12c-44e7-5ed2-c1882d3a9bd6
* Version Independent ID: 6e14b54d-594d-09f2-3e4c-e976836bc0c4
* Content: [WindowPattern.WindowOpenedEvent Field (System.Windows.Automation)](https://docs.microsoft.com/en-us/dotnet/api/system.windows.automation.windowpattern.windowopenedevent?view=netframework-4.7.2)
* Content Source: [xml/System.Windows.Automation/WindowPattern.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Windows.Automation/WindowPattern.xml)
* Product: **dotnet-api**
* GitHub Login: @Xansky
* Microsoft Alias: **mhopkins**
Contributor guide
Assessment
This issue has not been assessed yet.