Share via


UIADataDrivenAdapter Class

Definition

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

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

Constructors

UIADataDrivenAdapter(XmlDocument, Object)

Initializes a new instance of the UIADataDrivenAdapter class.

Fields

PREFIX

Specifies the prefix used to identify this Data Driven Adapter.

Properties

AutomationEventList

Gets or sets the events and its EventsArgs which will be used in Register/UnRegister classification.

AutomationProperties

Gets or sets the automation properties.

AutomationPropReturnTypes

Gets or sets the automation property return types which will be used for conversion.

Methods

ConvertObjecttoString(Object, Type)

Converts the object format to desired binding string type.

ConvertStringtoObject(String, Type)

Converts the binding string format to desired object type.

Dispose()

Clears up any resources being used.

(Inherited from DataDrivenAdapterBase)
Dispose(Boolean)

Overridden. Unregisters the event listeners.

(Inherited from DataDrivenAdapterBase)
ExecuteControlAction(String, Boolean, String)

Executes the designated action of the named control.

(Inherited from DataDrivenAdapterBase)
FindControl(String)

Reports whether the named control is available for use.

(Inherited from DataDrivenAdapterBase)
FindUIAControl(String, Boolean)

Traverses through the UIObject tree and finds the control in the TreeBinding.

GetApplicationEvents()

Gets the list of application events propagated.

GetAvailableApplicationEvents()

Gets the list of application events propagated.

GetAvailableControlEvents()

Gets the list of control events propagated.

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.

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)

Handles Get, Set, Find Execute Actions on controls.

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)

Registers for the event listener.

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)
UnregisterEventListener(String, String, EventHandler<ControlChangedEventArgs>)

UnRegisters the registered event listener

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