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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Majorsilence.Forms.WindowsUIAutomation" Version="26.0.52" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Majorsilence.Forms.WindowsUIAutomation" Version="26.0.52" />
                    
Directory.Packages.props
<PackageReference Include="Majorsilence.Forms.WindowsUIAutomation" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Majorsilence.Forms.WindowsUIAutomation --version 26.0.52
                    
#r "nuget: Majorsilence.Forms.WindowsUIAutomation, 26.0.52"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Majorsilence.Forms.WindowsUIAutomation@26.0.52
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Majorsilence.Forms.WindowsUIAutomation&version=26.0.52
                    
Install as a Cake Addin
#tool nuget:?package=Majorsilence.Forms.WindowsUIAutomation&version=26.0.52
                    
Install as a Cake Tool

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

Licensed under the MIT License.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
26.0.52 47 9/12/2026
26.0.51 98 8/30/2026
26.0.50 101 8/29/2026