ProviderOptions Enumeration


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Contains values that specify the type of UI Automation provider.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:   System.Windows.Automation.Provider
Assembly:  UIAutomationProvider (in UIAutomationProvider.dll)

type ProviderOptions

Member nameDescription

The UI Automation provider is a client-side provider.


The UI Automation provider is a non-client-area provider.


The UI Automation provider overrides another provider.


The UI Automation provider handles its own focus, and does not want UI Automation to set focus to the nearest window on its behalf when SetFocus is called. This option is typically used by providers for windows that appear to take focus without actually receiving Win32 focus, such as menus and drop-down menus.


The UI Automation provider is a server-side provider.


The UI Automation provider expects to be called according to COM threading rules. If the provider is in a Single-Threaded Apartment, it will be called only on the apartment thread. Only Server-side providers can use this option.

.NET Framework
Available since 3.0
Return to top