Coordinates root-provider creation, WM_GETOBJECT handling, and provider cleanup for controls that support root UI Automation.
Definition
Namespace:Telerik.WinControls.UIAutomation
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RootUIAutomationManager : IRootUIAutomationManager
Inheritance: objectRootUIAutomationManager
Implements:
Constructors
Creates a manager for the specified root-UI-Automation owner.
public RootUIAutomationManager(ISupportRootUIAutomation owner)
The control support object whose provider lifecycle is managed.
Properties
Gets whether UI Automation requests can be handled because clients are listening, the feature is enabled, and a provider exists for a loaded non-design owner.
public bool CanHandleUIAutomationRequests { get; }
Implements:
Gets the support object whose root provider is managed.
public ISupportRootUIAutomation Owner { get; }
Implements:
Methods
Releases the provider when root UI Automation has been disabled.
public void OnEnableUIAutomationChanged()
Implements:
Processes a root-object WM_GETOBJECT request, initializing the provider on demand.
public bool ProcessWmGetObject(ref Message m)
The window message whose result is set when the request is handled.
Returns:true when a provider is returned to UI Automation; otherwise, false.
Exceptions: InvalidOperationExceptionIn a debug build, provider initialization leaves Owner.UIAutomationProvider null after a valid request.
Implements:
Disconnects and disposes the root provider when the owner is loaded, not in design mode, and has a window handle.
public void ReleaseUIAutomationProvider()
Implements: