Share via


WinDataDrivenAdapter Class

Definition

Represents the adapter for Windows applications to manage access between the applications, user interface, and automated entities within UII.

public ref class WinDataDrivenAdapter : Microsoft::Uii::HostedApplicationToolkit::DataDrivenAdapter::DataDrivenAdapterBase
public class WinDataDrivenAdapter : Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.DataDrivenAdapterBase
type WinDataDrivenAdapter = class
    inherit DataDrivenAdapterBase
Public Class WinDataDrivenAdapter
Inherits DataDrivenAdapterBase
Inheritance
WinDataDrivenAdapter

Constructors

WinDataDrivenAdapter(XmlDocument, Object)

Initializes a new instance of the WinDataDrivenAdapter class.

Fields

PREFIX

Specifies the prefix used to identify this data-driven adapter.

Properties

AccEventListener

Gets all AccEvent traffic

KnownControls

Gets the tables that maintain the association between control names and accessible element identifiers.

Methods

Dispose()

Clears up any resources being used.

(Inherited from DataDrivenAdapterBase)
Dispose(Boolean)

Cleans up any resources being used.

ExecuteControlAction(String, Boolean, String)

Executes the designated action of the named control.

(Inherited from DataDrivenAdapterBase)
FindAccEventsWindow(Boolean)

Finds the window to listen to the accessibility events.

FindAccObj(String, Boolean, Int32)

Finds the accessibility object using the control name.

FindControl(String)

Reports whether the named control is available for use.

(Inherited from DataDrivenAdapterBase)
FindMenuItem(String, Boolean, IntPtr, Int32, Int32)

Finds the menu item associated with a control.

FindWindowFromControlName(String, Boolean)

Finds the window that contains the control.

GetApplicationEvents()

Gets the list of application events propagated. Intended for design-time use. Custom implementation isn’t required for run-time operation.

GetAvailableApplicationEvents()

Gets the list of application events propagated. Intended for design-time use. Custom implementation isn’t required for run-time operation.

GetAvailableControlEvents()

Gets the list of control events propagated. Intended for design-time use. Custom implementation isn’t required for run-time operation.

GetControlConfig(String)

Gets the subordinate nodes from a top-level XML node of a data-driven adapter control binding.

(Inherited from DataDrivenAdapterBase)
GetControlEvents()

Gets the list of control events propagated. Intended for design-time use. Custom implementation isn’t required for run-time operation.

GetControlNames()

Gets the control names.

(Inherited from DataDrivenAdapterBase)
GetControlValue(String, String)

Gets the current value of the control.

(Inherited from DataDrivenAdapterBase)
GetFirstDescendentUnderControlConfig(String, String)

Retrieves the first descendent node from a top-level XML node of a data-driven adapter control binding.

(Inherited from DataDrivenAdapterBase)
OperationHandler(OperationType, String, String, String)

Calls to the WinDataDrivenAdapter API to manipulate the user interface (UI) are dispatched to this handler.

OperationHandler(OperationType, String, String)

Calls to the DataDrivenAdapterBase API to manipulate the UI are dispatched to this handler. Override to implement custom behavior.

(Inherited from DataDrivenAdapterBase)
RaiseEvent(Object, String, String, String)

Raises events where necessary. There is no synchronization context marshalling. Events go out on the thread that raised them. It is the listeners responsibility to perform an application-specific thread marshalling as required.

(Inherited from DataDrivenAdapterBase)
RegisterEventListener(String, String, EventHandler<ControlChangedEventArgs>, String)

Facilitates explicit WinDDA event listener registration.

RegisterEventListener(String, String, EventHandler<ControlChangedEventArgs>)

Facilitates explicit data-driven adapter event listener registration.

(Inherited from DataDrivenAdapterBase)
RegisterEventListenerBase(String, String, EventHandler<ControlChangedEventArgs>)

Adds the specified listenerCallback to the internal list of registered listeners. Once registered, RaiseEvent can then be used to raise the event to the registered listeners.

(Inherited from DataDrivenAdapterBase)
SetControlValue(String, String, String)

Assigns a new value to the named control.

(Inherited from DataDrivenAdapterBase)
StartAccEventListenerIfNecessary()

Triggers the instantiation of AccEventListener.

UnregisterEventListener(String, String, EventHandler<ControlChangedEventArgs>)

Facilitates explicit WinDDA event listener unregistration. Called for every registered event on Dispose().

UnregisterEventListenerBase(String, String, EventHandler<ControlChangedEventArgs>)

Removes the specified listenerCallback from the internal list of registered listeners. Once unregistered, RaiseEvent no longer can be used to raise the event.

(Inherited from DataDrivenAdapterBase)

Applies to