Freigeben über


UIADataDrivenAdapter Class

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

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

Namespace:   Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter
Assembly:  Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter (in Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.DataDrivenAdapterBase
    Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.UIADataDrivenAdapter

Syntax

public class UIADataDrivenAdapter : DataDrivenAdapterBase
Public Class UIADataDrivenAdapter
    Inherits DataDrivenAdapterBase

Constructors

Name Description
System_CAPS_pubmethod UIADataDrivenAdapter(XmlDocument, Object)

Initializes a new instance of the UIADataDrivenAdapter class.

Properties

Name Description
System_CAPS_protpropertySystem_CAPS_static AutomationEventList

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

System_CAPS_protpropertySystem_CAPS_static AutomationProperties

Gets or sets the automation properties.

System_CAPS_protpropertySystem_CAPS_static AutomationPropReturnTypes

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

Methods

Name Description
System_CAPS_protmethod ConvertObjecttoString(Object, Type)

Converts the object format to desired binding string type.

System_CAPS_protmethod ConvertStringtoObject(String, Type)

Converts the binding string format to desired object type.

System_CAPS_pubmethod Dispose()

Clears up any resources being used.(Inherited from DataDrivenAdapterBase.)

System_CAPS_protmethod Dispose(Boolean)

Overridden. Unregisters the event listeners.(Inherited from DataDrivenAdapterBase.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod ExecuteControlAction(String, Boolean, String)

Executes the designated action of the named control.(Inherited from DataDrivenAdapterBase.)

System_CAPS_protmethod Finalize()

Destructor for the DataDrivenAdapterBase class.(Inherited from DataDrivenAdapterBase.)

System_CAPS_pubmethod FindControl(String)

Reports whether the named control is available for use.(Inherited from DataDrivenAdapterBase.)

System_CAPS_protmethod FindUIAControl(String, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_static GetApplicationEvents()

Gets the list of application events propagated.

System_CAPS_pubmethod GetAvailableApplicationEvents()

Gets the list of application events propagated. (Overrides DataDrivenAdapterBase.GetAvailableApplicationEvents().)

System_CAPS_pubmethod GetAvailableControlEvents()

Gets the list of control events propagated. (Overrides DataDrivenAdapterBase.GetAvailableControlEvents().)

System_CAPS_protmethod GetControlConfig(String)

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

System_CAPS_pubmethodSystem_CAPS_static GetControlEvents()

Gets the list of control events propagated.

System_CAPS_pubmethod GetControlNames()

Gets the control names.(Inherited from DataDrivenAdapterBase.)

System_CAPS_pubmethod GetControlValue(String, String)

Gets the current value of the control.(Inherited from DataDrivenAdapterBase.)

System_CAPS_protmethod GetFirstDescendentUnderControlConfig(String, String)

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

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod 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.)

System_CAPS_protmethod OperationHandler(OperationType, String, String, String)

Handles Get, Set, Find Execute Actions on controls.(Overrides DataDrivenAdapterBase.OperationHandler(OperationType, String, String, String).)

System_CAPS_protmethod 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.)

System_CAPS_pubmethod RegisterEventListener(String, String, EventHandler<ControlChangedEventArgs>)

Facilitates explicit data-driven adapter event listener registration.(Inherited from DataDrivenAdapterBase.)

System_CAPS_pubmethod RegisterEventListener(String, String, EventHandler<ControlChangedEventArgs>, String)

Registers for the event listener.(Overrides DataDrivenAdapterBase.RegisterEventListener(String, String, EventHandler<ControlChangedEventArgs>, String).)

System_CAPS_protmethod 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.)

System_CAPS_pubmethod SetControlValue(String, String, String)

Assigns a new value to the named control.(Inherited from DataDrivenAdapterBase.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod UnregisterEventListener(String, String, EventHandler<ControlChangedEventArgs>)

UnRegisters the registered event listener(Overrides DataDrivenAdapterBase.UnregisterEventListener(String, String, EventHandler<ControlChangedEventArgs>).)

System_CAPS_protmethod 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.)

Fields

Name Description
System_CAPS_pubfieldSystem_CAPS_static PREFIX

Specifies the prefix used to identify this Data Driven Adapter.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter Namespace

Return to top

Unified Service Desk 2.0

© 2016 Microsoft. All rights reserved. Copyright