-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Implementing HeadingLevel and IsDialog automation properties #4751
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
b98bb57
Felipe coworking session for new UIAutomation property investigation
ryalanms 9a5eb0e
adding None as the default result
0174765
adding apicompat changes
1a5afaf
Coworking session with Felipe: adding OS checks for new automation pr…
ryalanms adc3050
Merge branch 'main' into new.automation.property
ryalanms 0cf1bdc
Merge branch 'main' into new.automation.property
ryalanms 03125c0
Fix reference assemblies
ryalanms edd1008
Changing HeadingLevel enum to be in the correct way
0bcb251
adding isdialog implementation
0e3ff1d
changing to isdialog from getisdialog
3a8be23
improving isdialog implementation
ac060ac
Update src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/A…
guimafelipe e49e2b0
Update src/Microsoft.DotNet.Wpf/src/UIAutomation/UIAutomationClient/S…
guimafelipe 7393512
Update src/Microsoft.DotNet.Wpf/src/UIAutomation/UIAutomationTypes/Sy…
guimafelipe 81a1df3
Update src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/A…
guimafelipe 1ee85b4
Update src/Microsoft.DotNet.Wpf/src/UIAutomation/UIAutomationTypes/Sy…
guimafelipe cbbc720
Update src/Microsoft.DotNet.Wpf/src/Shared/System/Windows/InterOp/OSV…
guimafelipe 3921923
adding headinglevel summary
ba44bdd
removing empty lines and adding description
118a26a
Update src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/A…
guimafelipe f092113
Update src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/A…
guimafelipe d223aa8
suggested changes
df19535
removing unecessary comment and adding rs5 for isDialog
df85bbd
changing enum constant
d01beaa
Adding window isdialogcore implementation
a3ee3c1
overriding headinglevelcore in peers
3944e81
editing override of isdialog
a2ad746
changing values of enum for heading level so it correctly show in acc…
fed5d29
changing IsDialogCore() to virtual
23cc6b6
adding prefix in automation properties
0afb956
changing location of automationheadinglevel.cs to fix api compat errors
764d246
updating presentationcore return types for heading level
ee46685
Revert "changing location of automationheadinglevel.cs to fix api com…
c203d9e
maintaining the values of the enum as this for further testing
9ebec44
Update src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Wind…
guimafelipe cdf3786
changing enums to start on 0 and fixing automaticalli added code
a4df4cd
first try to add enum mapping
0b283ac
removing unreachable code
1ae4a20
moving the headinglevel conversion to automarionpeer.cs
d29ff29
removing api compat error
7ef5140
moving headinglevel ids enum to only the places where it is necessary
f7f4ff4
reverting baseline files
1c09b7d
removing disclaimer
c113364
removing switches
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 69 additions & 0 deletions
69
...osoft.DotNet.Wpf/src/PresentationCore/System/Windows/Automation/AutomationHeadingLevel.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,69 @@ | ||
| // Licensed to the .NET Foundation under one or more agreements. | ||
| // The .NET Foundation licenses this file to you under the MIT license. | ||
| // See the LICENSE file in the project root for more information. | ||
|
|
||
| // | ||
| // | ||
| // | ||
| // Description: Enumeration for possible values of AutomationProperties.HeadingLevel | ||
| // | ||
|
|
||
| namespace System.Windows.Automation | ||
| { | ||
| /// <summary> | ||
| /// Describes the heading level of a control | ||
| /// </summary> | ||
| public enum AutomationHeadingLevel | ||
| { | ||
| /// <summary> | ||
| /// The element does not have a heading level | ||
| /// </summary> | ||
| None = 0, | ||
|
|
||
| /// <summary> | ||
| /// The element has a heading level of 1 | ||
| /// </summary> | ||
| Level1, | ||
|
|
||
| /// <summary> | ||
| /// The element has a heading level of 2 | ||
| /// </summary> | ||
| Level2, | ||
|
|
||
| /// <summary> | ||
| /// The element has a heading level of 3 | ||
| /// </summary> | ||
| Level3, | ||
|
|
||
| /// <summary> | ||
| /// The element has a heading level of 4 | ||
| /// </summary> | ||
| Level4, | ||
|
|
||
| /// <summary> | ||
| /// The element has a heading level of 5 | ||
| /// </summary> | ||
| Level5, | ||
|
|
||
| /// <summary> | ||
| /// The element has a heading level of 6 | ||
| /// </summary> | ||
| Level6, | ||
|
|
||
| /// <summary> | ||
| /// The element has a heading level of 7 | ||
| /// </summary> | ||
| Level7, | ||
|
|
||
| /// <summary> | ||
| /// The element has a heading level of 8 | ||
| /// </summary> | ||
| Level8, | ||
|
|
||
| /// <summary> | ||
| /// The element has a heading level of 9 | ||
| /// </summary> | ||
| Level9, | ||
| } | ||
|
|
||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.