ProviderOptions Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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)

[FlagsAttribute]
public enum ProviderOptions

Member nameDescription
ClientSideProvider

The UI Automation provider is a client-side provider.

NonClientAreaProvider

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

OverrideProvider

The UI Automation provider overrides another provider.

ProviderOwnsSetFocus

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.

ServerSideProvider

The UI Automation provider is a server-side provider.

UseComThreading

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
Show: