Majorsilence.Forms.WindowsUIAutomation
26.0.52
dotnet add package Majorsilence.Forms.WindowsUIAutomation --version 26.0.52
NuGet\Install-Package Majorsilence.Forms.WindowsUIAutomation -Version 26.0.52
<PackageReference Include="Majorsilence.Forms.WindowsUIAutomation" Version="26.0.52" />
<PackageVersion Include="Majorsilence.Forms.WindowsUIAutomation" Version="26.0.52" />
<PackageReference Include="Majorsilence.Forms.WindowsUIAutomation" />
paket add Majorsilence.Forms.WindowsUIAutomation --version 26.0.52
#r "nuget: Majorsilence.Forms.WindowsUIAutomation, 26.0.52"
#:package Majorsilence.Forms.WindowsUIAutomation@26.0.52
#addin nuget:?package=Majorsilence.Forms.WindowsUIAutomation&version=26.0.52
#tool nuget:?package=Majorsilence.Forms.WindowsUIAutomation&version=26.0.52
Majorsilence.Forms.WindowsUIAutomation
Screen-reader accessibility for Majorsilence.Forms apps on Windows.
Majorsilence.Forms draws every control itself, so there are no native child windows for the platform
to expose. This package projects the framework's backend-neutral automation tree onto the Windows
UI Automation provider API, so Narrator, NVDA, JAWS and focus-following magnifiers can read and
drive a Majorsilence.Forms window like any other Windows application. Inspect tools such as
inspect.exe and Accessibility Insights see it too.
Windows-only. Off Windows it builds as an empty placeholder assembly, so a cross-platform solution still compiles everywhere.
Install
dotnet add package Majorsilence.Forms.WindowsUIAutomation
Use it
One call per window, after it exists:
using Majorsilence.Forms.WindowsUIAutomation;
WindowsUIAutomation.Enable (form); // detaches automatically when the window closes
Imports Majorsilence.Forms.WindowsUIAutomation
WindowsUIAutomation.Enable(form) ' detaches automatically when the window closes
Control roles map to UI Automation control types, and buttons, text boxes, combo boxes, check boxes and radio buttons expose the Invoke, Value and Toggle patterns.
The same tree, three consumers
Accessibility, tests and remote automation all read one tree — anything a screen reader can find, a test can find:
- In-process UI tests, and headless rendering in CI
Majorsilence.Forms.WebDriver— a W3C WebDriver server for Selenium and friends- This package — Windows screen readers and magnifiers
Links
Licensed under the MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-windows7.0 is compatible. net9.0-windows was computed. net10.0-windows was computed. net10.0-windows7.0 is compatible. |
-
net10.0-windows7.0
- Majorsilence.Forms (>= 26.0.52)
-
net8.0-windows7.0
- Majorsilence.Forms (>= 26.0.52)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.